Преглед изворни кода

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

zhangxc пре 5 година
родитељ
комит
4b544b60cf
1 измењених фајлова са 1 додато и 1 уклоњено
  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;