无用代码清理

This commit is contained in:
pixel
2021-01-08 16:54:09 +08:00
parent 1c257fa830
commit fdd522e56a
6 changed files with 7 additions and 14 deletions
@@ -128,7 +128,6 @@ export default {
return {
listApi: getSysDictionaryList,
dialogFormVisible: false,
visible: false,
type: "",
formData: {
name: null,
@@ -214,7 +213,7 @@ export default {
};
},
async deleteSysDictionary(row) {
this.visible = false;
row.visible = false;
const res = await deleteSysDictionary({ ID: row.ID });
if (res.code == 0) {
this.$message({
@@ -124,7 +124,6 @@ export default {
return {
listApi: getSysDictionaryDetailList,
dialogFormVisible: false,
visible: false,
type: "",
formData: {
label: null,
@@ -203,7 +202,7 @@ export default {
};
},
async deleteSysDictionaryDetail(row) {
this.visible = false;
row.visible = false;
const res = await deleteSysDictionaryDetail({ ID: row.ID });
if (res.code == 0) {
this.$message({