Commit 3a59c92f authored by 乐宝呗666's avatar 乐宝呗666

修改自定义界面提交问题

parent 82dd868f
......@@ -237,8 +237,12 @@ export default {
},
// 修改当前项
submitForm() {
this.updateCurrent(this.pageList[vm.radioPage].id, "tAppDirPic/update");
this.updateCurrent(this.runList[vm.radioRun].id, "tAppRunPic/update");
if(vm.radioPage !== undefined){
this.updateCurrent(this.pageList[vm.radioPage].id, "tAppDirPic/update");
}
if(vm.radioRun!== undefined){
this.updateCurrent(this.runList[vm.radioRun].id, "tAppRunPic/update");
}
},
updateCurrent(id, url) {
let vm = this;
......
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