tangning 10 months ago
parent
commit
7390435f0e
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/views/lanUser/adddetailsModal.vue

+ 5 - 1
src/views/lanUser/adddetailsModal.vue

@@ -8,7 +8,7 @@
   >
   >
     <div class="BasicForms">
     <div class="BasicForms">
       <Select
       <Select
-        v-model:value="undefined"
+        v-model:value="modelRef"
         show-search
         show-search
         placeholder="请输入姓名/手机号码/身份证号码搜索"
         placeholder="请输入姓名/手机号码/身份证号码搜索"
         style="width: 350px"
         style="width: 350px"
@@ -184,6 +184,10 @@
         });
         });
       }
       }
       function handlestd(){
       function handlestd(){
+        if(!modelRef.value){
+          createMessage.warning('请选择更换平台!')
+          return
+        }
         if(active.value.platformId){
         if(active.value.platformId){
           createConfirm({
           createConfirm({
               title: '提示',
               title: '提示',