From 3e17faf676860e7b65079bed632b552bc4be2fc1 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 24 一月 2024 15:29:14 +0800
Subject: [PATCH] 主题库定义表格调整
---
Source/UBCS-WEB/src/components/transfer/transfer-panel.vue | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/Source/UBCS-WEB/src/components/transfer/transfer-panel.vue b/Source/UBCS-WEB/src/components/transfer/transfer-panel.vue
index 4cde3a8..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';
@@ -147,7 +147,6 @@
computed: {
filteredData() {
return this.data.filter(item => {
- console.log(item)
if (typeof this.filterMethod === 'function') {
return this.filterMethod(this.query, item);
} else {
@@ -208,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);
},
@@ -229,4 +228,3 @@
}
};
</script>
-
\ No newline at end of file
--
Gitblit v1.9.3