jingyuanchao 2 лет назад
Родитель
Сommit
18b7732c32
1 измененных файлов с 3 добавлено и 1 удалено
  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)