上传
This commit is contained in:
@@ -179,7 +179,11 @@ const props = defineProps({
|
||||
})
|
||||
|
||||
const showSchema = computed(() => {
|
||||
const arr = [
|
||||
const arr1 = [...props.schema]
|
||||
if (arr1.length % 2 != 0) {
|
||||
arr1.push({})
|
||||
}
|
||||
const arr2 = [
|
||||
{
|
||||
field: 'requirement',
|
||||
label: '诉求',
|
||||
@@ -192,7 +196,7 @@ const showSchema = computed(() => {
|
||||
isEditor: true
|
||||
}
|
||||
]
|
||||
return [...props.schema, ...arr]
|
||||
return [...arr1, ...arr2]
|
||||
})
|
||||
|
||||
const followList = ref([])
|
||||
|
||||
Reference in New Issue
Block a user