wuroy.eth 6 dní pred
rodič
commit
0b6829a1d5

+ 8 - 8
src/views/wechat/batch_msg/components/userPhasesDrawer.vue

@@ -336,15 +336,15 @@
   // 监听 Select 选项变化,动态更新 Checkbox 状态
   function handleSelectChange(type, selectedValues, checkedKey) {
     // 获取所有选项的数量
-    const allOptions = type === 'labels' ? actionLabel.value : actionLabelGroup.value;
-    const allSelected = selectedValues.length === allOptions.length;
+    // const allOptions = type === 'labels' ? actionLabel.value : actionLabelGroup.value;
+    // const allSelected = selectedValues.length === allOptions.length;
 
     // 根据选择情况更新 Checkbox 状态
-    if (checkedKey === 'checked') {
-      form.checked = allSelected; // 当所有选中时,设置全选
-    } else if (checkedKey === 'checked1') {
-      form.checked1 = allSelected; // 当所有选中时,设置全选
-    }
+    // if (checkedKey === 'checked') {
+    //   form.checked = allSelected; // 当所有选中时,设置全选
+    // } else if (checkedKey === 'checked1') {
+    //   form.checked1 = allSelected; // 当所有选中时,设置全选
+    // }
   }
   function nextStep() {
     if (currentStep.value === 0) {
@@ -588,4 +588,4 @@
     color: #ff4949;
     font-size: 12px;
   }
-</style>
+</style>