删除不必要的代码

master
RuoYi 4 years ago
parent fbbdd94999
commit 08df2c93a9
  1. 4
      ruoyi-ui/src/views/system/dict/index.vue
  2. 6
      ruoyi-ui/src/views/system/role/index.vue

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

@ -368,9 +368,9 @@ export default {
//
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);
return checkedKeys;
},
@ -440,7 +440,7 @@ export default {
menuIds: [],
deptIds: [],
menuCheckStrictly: true,
deptCheckStrictly: true,
deptCheckStrictly: true,
remark: undefined
};
this.resetForm("form");

Loading…
Cancel
Save