代码优化

This commit is contained in:
dqjdda
2019-11-23 21:53:02 +08:00
parent 559adfd786
commit f7d78f4b98
17 changed files with 155 additions and 467 deletions

View File

@@ -37,10 +37,8 @@ export default {
form: {},
// 重置表单
resetForm: {},
// 弹窗的标题
title: '',
// 方法
method: ''
// 标题
title: ''
}
},
methods: {
@@ -159,6 +157,7 @@ export default {
this.delLoading = true
this.crudMethod.del(id).then(() => {
this.delLoading = false
console.log(this.$refs[id])
this.$refs[id].doClose()
this.dleChangePage()
this.delSuccessNotify()