perf: VueX缩减、优化; 表头编辑插件重构

This commit is contained in:
chenjinsong
2020-08-04 21:53:06 +08:00
parent 0bff11644f
commit 06a3000af1
21 changed files with 472 additions and 1425 deletions

View File

@@ -512,7 +512,6 @@
this.$put('module', this.editModule).then(response => {
if (response.code === 200) {
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
//this.$store.commit('moduleListChange');
this.esc(true);
} else {
this.$message.error(response.msg);
@@ -522,7 +521,6 @@
this.$post('module', this.editModule).then(response => {
if (response.code === 200) {
this.$message({duration: 1000, type: 'success', message: this.$t("tip.saveSuccess")});
//this.$store.commit('moduleListChange');
this.esc(true);
} else {
this.$message.error(response.msg);
@@ -544,7 +542,6 @@
this.$delete("module?ids=" + this.editModule.id).then(response => {
if (response.code === 200) {
this.$message({duration: 1000, type: 'success', message: this.$t("tip.deleteSuccess")});
//this.$store.commit('moduleListChange');
this.esc(true);
} else {
this.$message.error(response.msg);