边界入侵未初始化bug修复

liujun-2024-06-13-一公司人员定位新需求
liujun 2024-06-27 14:48:12 +08:00
parent a78960d107
commit 08555f1a10
1 changed files with 3 additions and 1 deletions

View File

@ -334,7 +334,7 @@ export default {
this.shexiangtouForm = data.pd this.shexiangtouForm = data.pd
this.form.SUOSHUQUYU = data.pd.SUOSHUQUYU this.form.SUOSHUQUYU = data.pd.SUOSHUQUYU
this.getSendDic() 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.CORPINFO_ID = data.pd.CORPINFO_ID
this.form.VIDEONAME = data.pd.NAME this.form.VIDEONAME = data.pd.NAME
this.form.CODE = data.pd.INDEXCODE this.form.CODE = data.pd.INDEXCODE
@ -343,6 +343,7 @@ export default {
this.listLoading = false this.listLoading = false
resolve() resolve()
}).catch((e) => { }).catch((e) => {
console.log(e)
this.listLoading = false this.listLoading = false
}) })
}) })
@ -529,6 +530,7 @@ export default {
spinner: 'el-icon-loading', spinner: 'el-icon-loading',
background: 'rgba(0, 0, 0, 0.7)' background: 'rgba(0, 0, 0, 0.7)'
}) })
this.form.bianjiequyu = []
this.form.quyuList = [] this.form.quyuList = []
requestFN('/dictionaries/listSelectTree', { DICTIONARIES_ID: this.form.SUOSHUQUYU } requestFN('/dictionaries/listSelectTree', { DICTIONARIES_ID: this.form.SUOSHUQUYU }
).then((data) => { ).then((data) => {