fix(项目设置): 修复环境批量删除变量后仍显示批量操作按钮的缺陷

--bug=1021727 --user=王孝刚 【项目管理】项目环境-通用配置,批量删除环境变量后,还在显示批量操作按钮
https://www.tapd.cn/55049933/s/1324639
This commit is contained in:
wxg0103 2023-01-09 17:51:06 +08:00 committed by wxg0103
parent 969260f45a
commit cb9d96aa4d

View File

@ -367,6 +367,9 @@ export default {
this.sortParameters(); this.sortParameters();
this.$refs.variableTable.cancelCurrentRow(); this.$refs.variableTable.cancelCurrentRow();
this.$refs.variableTable.clear(); this.$refs.variableTable.clear();
this.variables.forEach((item) => {
item.showMore = false;
});
} }
); );
}, },