Explorar el Código

演练bug修改

jingyuanchao hace 2 años
padre
commit
18b7732c32
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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)