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