Commit 6c617e24 authored by 何虹's avatar 何虹 💬

配置框中appCode不能从url上读取

parent e40199ac
......@@ -479,22 +479,10 @@ export default {
this.$emit('dialogClose')
},
handleControlInfo() {
// 初始化appCode pageName 等等
const { appCode, pageName } = hsUtil.SystemModule.getUrlParams()
const {
appCode: appCode_el,
pageName: pageName_elInfo,
position
} = this.elInfo
this.controlInfo.appCode = appCode_el || appCode
this.controlInfo.pageName = pageName_elInfo || pageName
this.controlInfo.controlName = position
if (!this.elInfo.appCode) {
this.elInfo.appCode = this.controlInfo.appCode
}
if (!this.elInfo.pageName) {
this.elInfo.pageName = this.controlInfo.pageName
}
},
dialogOpen() {
this.revertVersion = false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment