Commit 08df2c93a9fdeb25aecc064d13281c7f82db3cd1

Authored by RuoYi
1 parent fbbdd949

删除不必要的代码

ruoyi-ui/src/views/system/dict/index.vue
... ... @@ -352,9 +352,7 @@ export default {
352 352 /** 清理缓存按钮操作 */
353 353 handleClearCache() {
354 354 clearCache().then(response => {
355   - if (response.code === 200) {
356   - this.msgSuccess("清理成功");
357   - }
  355 + this.msgSuccess("清理成功");
358 356 });
359 357 }
360 358 }
... ...
ruoyi-ui/src/views/system/role/index.vue
... ... @@ -368,9 +368,9 @@ export default {
368 368 // 所有菜单节点数据
369 369 getMenuAllCheckedKeys() {
370 370 // 目前被选中的菜单节点
371   - let checkedKeys = this.$refs.menu.getHalfCheckedKeys();
  371 + let checkedKeys = this.$refs.menu.getCheckedKeys();
372 372 // 半选中的菜单节点
373   - let halfCheckedKeys = this.$refs.menu.getCheckedKeys();
  373 + let halfCheckedKeys = this.$refs.menu.getHalfCheckedKeys();
374 374 checkedKeys.unshift.apply(checkedKeys, halfCheckedKeys);
375 375 return checkedKeys;
376 376 },
... ... @@ -440,7 +440,7 @@ export default {
440 440 menuIds: [],
441 441 deptIds: [],
442 442 menuCheckStrictly: true,
443   - deptCheckStrictly: true,
  443 + deptCheckStrictly: true,
444 444 remark: undefined
445 445 };
446 446 this.resetForm("form");
... ...