Commit 08df2c93a9fdeb25aecc064d13281c7f82db3cd1
1 parent
fbbdd949
删除不必要的代码
Showing
2 changed files
with
4 additions
and
6 deletions
ruoyi-ui/src/views/system/dict/index.vue
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"); | ... | ... |