mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
feat:
This commit is contained in:
parent
e9abfd6f45
commit
d7f7f599e8
|
|
@ -5,7 +5,7 @@
|
|||
<el-progress v-bind="$attrs" :percentage="row[value_field]"></el-progress
|
||||
></template>
|
||||
<div>
|
||||
<el-row v-for="item in view_card"
|
||||
<el-row v-for="(item, index) in view_card" :key="index"
|
||||
><el-col :span="6">{{ item.title }}</el-col
|
||||
><el-col :span="18"> <span class="value" :innerHTML="value_html(item)"> </span></el-col
|
||||
></el-row>
|
||||
|
|
|
|||
|
|
@ -89,7 +89,8 @@ const active = ref(0)
|
|||
const successInfo = ref<any>(null)
|
||||
|
||||
async function next() {
|
||||
if (await StepFirstRef.value.onSubmit()) {
|
||||
console.log(StepFirstRef.value)
|
||||
if (await StepFirstRef.value?.onSubmit()) {
|
||||
if (active.value++ > 2) active.value = 0
|
||||
}
|
||||
}
|
||||
|
|
@ -104,7 +105,7 @@ function clearStore() {
|
|||
function submit() {
|
||||
loading.value = true
|
||||
const documents = [] as any[]
|
||||
StepSecondRef.value.paragraphList.map((item: any) => {
|
||||
StepSecondRef.value?.paragraphList.map((item: any) => {
|
||||
documents.push({
|
||||
name: item.name,
|
||||
paragraphs: item.content
|
||||
|
|
|
|||
Loading…
Reference in New Issue