This commit is contained in:
yanran200730
2022-03-21 20:09:59 +08:00
parent f0b470068a
commit cdf618104b
2 changed files with 6 additions and 2 deletions

View File

@@ -191,6 +191,7 @@ export default {
this.targetList.splice(res.index, 1, res.config)
}
})
document.title = !id ? '新建表单' : '编辑表单'
},
methods: {
toSetting() {
@@ -295,6 +296,7 @@ export default {
}
})
this.$loading()
this.$http.post(`/app/appquestionnairetemplate/addOrUpdate`, {
...this.form,
fields,
@@ -314,8 +316,11 @@ export default {
})}`
})
}
uni.hideLoading()
}).catch(e => {
this.$u.toast(e)
uni.hideLoading()
})
},