From 08555f1a10e345f41fabd149f125ea90dfaf2952 Mon Sep 17 00:00:00 2001 From: liujun Date: Thu, 27 Jun 2024 14:48:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BE=B9=E7=95=8C=E5=85=A5=E4=BE=B5=E6=9C=AA?= =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/keyprojects/platformelectronic/index.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/views/keyprojects/platformelectronic/index.vue b/src/views/keyprojects/platformelectronic/index.vue index 045c281..1fd60f6 100644 --- a/src/views/keyprojects/platformelectronic/index.vue +++ b/src/views/keyprojects/platformelectronic/index.vue @@ -334,7 +334,7 @@ export default { this.shexiangtouForm = data.pd this.form.SUOSHUQUYU = data.pd.SUOSHUQUYU this.getSendDic() - this.form.bianjiequyu = data.pd.FANGQU_IDS.split(',') + this.form.bianjiequyu = data.pd.FANGQU_IDS?data.pd.FANGQU_IDS.split(','):[] this.form.CORPINFO_ID = data.pd.CORPINFO_ID this.form.VIDEONAME = data.pd.NAME this.form.CODE = data.pd.INDEXCODE @@ -343,6 +343,7 @@ export default { this.listLoading = false resolve() }).catch((e) => { + console.log(e) this.listLoading = false }) }) @@ -529,6 +530,7 @@ export default { spinner: 'el-icon-loading', background: 'rgba(0, 0, 0, 0.7)' }) + this.form.bianjiequyu = [] this.form.quyuList = [] requestFN('/dictionaries/listSelectTree', { DICTIONARIES_ID: this.form.SUOSHUQUYU } ).then((data) => {