浏览代码

点击其他地方关闭弹窗(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;