优化
This commit is contained in:
parent
2605cf700e
commit
1e1bbd4667
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user