|
@@ -336,15 +336,15 @@
|
|
// 监听 Select 选项变化,动态更新 Checkbox 状态
|
|
// 监听 Select 选项变化,动态更新 Checkbox 状态
|
|
function handleSelectChange(type, selectedValues, checkedKey) {
|
|
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 状态
|
|
// 根据选择情况更新 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() {
|
|
function nextStep() {
|
|
if (currentStep.value === 0) {
|
|
if (currentStep.value === 0) {
|
|
@@ -588,4 +588,4 @@
|
|
color: #ff4949;
|
|
color: #ff4949;
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
-</style>
|
|
|
|
|
|
+</style>
|