Browse Source

演练bug修改

jingyuanchao 2 years ago
parent
commit
18b7732c32
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/core/drill/task/dialog.select.drillDictionary.vue

+ 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)