From 58307865a7fb5ead08fac3c2f0bef979fe4b64c1 Mon Sep 17 00:00:00 2001 From: zhangjun1 Date: Fri, 19 Jun 2020 15:28:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=BC=96=E8=BE=91=E6=99=AE?= =?UTF-8?q?=E9=80=9A=E7=94=A8=E6=88=B7=E5=8E=BB=E6=8E=89=E5=AE=89=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/authority/organization/organizationedit.vue | 7 ++++++- src/pages/workbench/fwgl/serviceEdit.vue | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pages/authority/organization/organizationedit.vue b/src/pages/authority/organization/organizationedit.vue index c6643b8..b195939 100644 --- a/src/pages/authority/organization/organizationedit.vue +++ b/src/pages/authority/organization/organizationedit.vue @@ -195,7 +195,12 @@ export default { date: data.create_date, fileList: data.picture_path, }; - this.imgList = data.picture_path.split(";"); + if(data.picture_path){ + this.imgList = data.picture_path.split(";"); + }else{ + this.imgList = [] + } + console.log(this.imgList); }) .catch((response) => {}); }, diff --git a/src/pages/workbench/fwgl/serviceEdit.vue b/src/pages/workbench/fwgl/serviceEdit.vue index 4d174d7..a2dba11 100644 --- a/src/pages/workbench/fwgl/serviceEdit.vue +++ b/src/pages/workbench/fwgl/serviceEdit.vue @@ -5,7 +5,7 @@ 服务编辑

-
+
基本信息编辑
-- 2.26.0