Procházet zdrojové kódy

点击其他地方关闭弹窗(3322)

zhangxc před 5 roky
rodič
revize
4b544b60cf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/components/preTreat/AddSimpleQuestion.vue

+ 1 - 1
src/components/preTreat/AddSimpleQuestion.vue

@@ -80,7 +80,7 @@
         this.dataPub = val;
       },
       hideQas(){
-        this.$refs.PubSelect.hideQas();
+        this.$refs.PubSelect&&this.$refs.PubSelect.hideQas()
       },
       pushValues(its){
         this.options = its;