duy 1 year ago
parent
commit
c56673f1af
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/certificate/lists/addList.vue

+ 5 - 2
src/views/certificate/lists/addList.vue

@@ -28,6 +28,7 @@
               placeholder="请选择"
               style="width: 400px;"
               clearable
+              @visible-change="$forceUpdate()"
             >
               <el-option
                 v-for="item in options"
@@ -608,11 +609,13 @@ export default {
     //改变证书类型
     changeCertificateType(val){
       if(val==1){
+        console.log(this.form.company,'公司');
         this.form.company=2
+        this.$forceUpdate();//强制刷新视图
        
       }
-     
-    }
+    },
+   
   },
   created () {
     this.getOptions()