From e44b41bf14c848a9fe738600d07cc0a9ac5bc68a Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sat, 29 Jun 2024 03:30:26 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BC=98=E5=8C=96=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E5=9B=BE=E6=A0=B7=E5=BC=8F=E5=8F=8A=E4=BD=8D=E7=BD=AE,?= =?UTF-8?q?=E9=9C=80=E6=B1=82=E4=B8=8A=E6=8A=A5=E6=8E=92=E7=89=88=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 1 + src/components/AttachmentUpload.vue | 4 ++-- src/components/Tag.vue | 1 - src/views/expense-management/share/add.vue | 2 +- src/views/project-demand/requirement/add.vue | 2 +- src/views/project-demand/summary/add.vue | 18 +++++++++--------- src/views/project-demand/summary/index.vue | 2 +- .../implementation/phase.vue | 2 +- src/views/special-fund/add.vue | 2 +- 9 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index caed37a..b664b8f 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -551,6 +551,7 @@ html, body, #app, .el-container, .el-aside, .el-main { } .approval-record { + padding-top: 10px; padding-bottom: 30px; position: relative; .approval-title { diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue index f50707c..8b8b53f 100644 --- a/src/components/AttachmentUpload.vue +++ b/src/components/AttachmentUpload.vue @@ -217,7 +217,7 @@ const singleFile = ref(props.formData.singleFile) const isSingleFile = ref(false) const allFileList = ref([]) const singleFileList = ref([]) -if(props.formData.fileList !== null && props.formData.fileList.length > 0){ +if(props.formData.fileList !== null && props.formData.fileList?.length > 0){ allFileList.value = props.formData.fileList } watch(() => props.showTable, (newVal) => { @@ -237,7 +237,7 @@ watch(() => props.formData.fileList, (newVal) => { watch(() => props.otherFileList, (newVal) => { // console.log('newotherFileList', newVal, props.formData) if (props.preview) { - if (props.formData.fileList === null || props.formData.fileList.length === 0) { + if (props.formData.fileList === null || props.formData.fileList?.length === 0) { allFileList.value = newVal } else { newVal?.forEach(item => { diff --git a/src/components/Tag.vue b/src/components/Tag.vue index 3447898..8bc4691 100644 --- a/src/components/Tag.vue +++ b/src/components/Tag.vue @@ -31,7 +31,6 @@ const props = defineProps({ const tagConfig = ref({}) const filterDict = (data, value) => { - console.log("🚀 ~ filterDict ~ data:", data) if (!data || value == null) return if (data instanceof Array) { if (value == true || value == false) { diff --git a/src/views/expense-management/share/add.vue b/src/views/expense-management/share/add.vue index 6331374..055b107 100644 --- a/src/views/expense-management/share/add.vue +++ b/src/views/expense-management/share/add.vue @@ -114,7 +114,7 @@