From f1336af7af2225820ac9a8dc6dfcf501e4d4cd7b Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期三, 06 十二月 2023 09:05:16 +0800 Subject: [PATCH] 系统左侧菜单,hover背景色bug处理 --- Source/UBCS-WEB/src/components/transfer/transfer-panel.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/UBCS-WEB/src/components/transfer/transfer-panel.vue b/Source/UBCS-WEB/src/components/transfer/transfer-panel.vue index 232be18..3f1910d 100644 --- a/Source/UBCS-WEB/src/components/transfer/transfer-panel.vue +++ b/Source/UBCS-WEB/src/components/transfer/transfer-panel.vue @@ -24,7 +24,7 @@ </p> </div> </template> - + <script> import ElCheckboxGroup from 'element-ui/packages/checkbox-group'; import ElCheckbox from 'element-ui/packages/checkbox'; @@ -207,9 +207,9 @@ methods: { updateAllChecked() { - + const checkableDataKeys = this.checkableData.map(item => item[this.keyProp]); - + this.allChecked = checkableDataKeys.length > 0 && checkableDataKeys.every(item => this.checked===item); }, @@ -228,4 +228,3 @@ } }; </script> - \ No newline at end of file -- Gitblit v1.9.3