提交 08df2c93 authored 作者: RuoYi's avatar RuoYi

删除不必要的代码

上级 fbbdd949
...@@ -352,9 +352,7 @@ export default { ...@@ -352,9 +352,7 @@ export default {
/** 清理缓存按钮操作 */ /** 清理缓存按钮操作 */
handleClearCache() { handleClearCache() {
clearCache().then(response => { clearCache().then(response => {
if (response.code === 200) {
this.msgSuccess("清理成功"); this.msgSuccess("清理成功");
}
}); });
} }
} }
......
...@@ -368,9 +368,9 @@ export default { ...@@ -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;
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论