diff --git a/src/views/databaseLibary/components/libaryForm.vue b/src/views/databaseLibary/components/libaryForm.vue index d40573b..efafc19 100644 --- a/src/views/databaseLibary/components/libaryForm.vue +++ b/src/views/databaseLibary/components/libaryForm.vue @@ -288,7 +288,7 @@ const handleChangeTwoType = (value) => { categoryTwoSelectedValue.value = [value] // 始终保持数组只有一个元素 ruleForm.value.categoryTwo = value nextTick(() => { - if (res.data.organPic) organPicRef.value.setFileInfo(ruleForm.value.organPic) + if (ruleForm.value.organPic) organPicRef.value.setFileInfo(ruleForm.value.organPic) }); } // 设置组织架构图 diff --git a/src/views/databaseLibary/components/list.vue b/src/views/databaseLibary/components/list.vue index 5afe4d4..8a63f47 100644 --- a/src/views/databaseLibary/components/list.vue +++ b/src/views/databaseLibary/components/list.vue @@ -14,7 +14,7 @@
{{ item.title }} {{ item.category }} - {{ item.categoryTwo }} + {{ item.categoryTwo }}