删除不必要的代码

This commit is contained in:
RuoYi 2020-10-13 14:41:26 +08:00
parent fbbdd94999
commit 08df2c93a9
2 changed files with 4 additions and 6 deletions

View File

@ -352,9 +352,7 @@ export default {
/** 清理缓存按钮操作 */ /** 清理缓存按钮操作 */
handleClearCache() { handleClearCache() {
clearCache().then(response => { clearCache().then(response => {
if (response.code === 200) { this.msgSuccess("清理成功");
this.msgSuccess("清理成功");
}
}); });
} }
} }

View File

@ -368,9 +368,9 @@ export default {
// //
getMenuAllCheckedKeys() { getMenuAllCheckedKeys() {
// //
let checkedKeys = this.$refs.menu.getHalfCheckedKeys(); let checkedKeys = this.$refs.menu.getCheckedKeys();
// //
let halfCheckedKeys = this.$refs.menu.getCheckedKeys(); let halfCheckedKeys = this.$refs.menu.getHalfCheckedKeys();
checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys); checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys);
return checkedKeys; return checkedKeys;
}, },
@ -440,7 +440,7 @@ export default {
menuIds: [], menuIds: [],
deptIds: [], deptIds: [],
menuCheckStrictly: true, menuCheckStrictly: true,
deptCheckStrictly: true, deptCheckStrictly: true,
remark: undefined remark: undefined
}; };
this.resetForm("form"); this.resetForm("form");