Просмотр исходного кода

驾意险多个选中限制取消

祁鹏飞 1 месяц назад
Родитель
Сommit
ccfba35ed6
1 измененных файлов с 7 добавлено и 7 удалено
  1. 7 7
      src/layouts/components/DrivingType/index.vue

+ 7 - 7
src/layouts/components/DrivingType/index.vue

@@ -153,13 +153,13 @@ const handleCancel = () => {
 }
 // 保存
 const handleConfirm = () => {
-  if (selectedList.value.length > 1 && !props.multiple) {
-    ElMessage({
-      message: '只能选择一种驾意险',
-      type: 'warning'
-    })
-    return
-  }
+  // if (selectedList.value.length > 1 && !props.multiple) {
+  //   ElMessage({
+  //     message: '只能选择一种驾意险',
+  //     type: 'warning'
+  //   })
+  //   return
+  // }
   emits('close', {
     list: selectedList.value,
     index: editIndex.value