This commit is contained in:
熊成强 2020-11-18 14:18:13 +08:00
parent 2605cf700e
commit 1e1bbd4667

View File

@ -149,7 +149,12 @@ export default {
} }
try { try {
let res = await saveTemSet(this.templateForm) let res = await saveTemSet(this.templateForm)
if (res.code !== 200) return this.$message.error(res.msg)
this.loadings = false this.loadings = false
this.templateForm = {
calculateId: 1,
modelItems: []
}
this.$loadingEnd() this.$loadingEnd()
res = res.data res = res.data
} catch (error) { } catch (error) {