jingyuanchao 2 rokov pred
rodič
commit
18b7732c32

+ 3 - 1
src/views/core/drill/task/dialog.select.drillDictionary.vue

@@ -103,7 +103,9 @@ export default {
     show(type) {
       console.log("show", type)
       this.search = this.emptySearch();
-      this.search.drillType =  type.toString();
+      if (type){
+        this.search.drillType =  type.toString();
+      }
       this.isShow = true;
       this.selectList = this.defaultSelect;
       console.log("this.selectList", this.selectList)