zhangjie 2 nedēļas atpakaļ
vecāks
revīzija
daa2c91c70

+ 1 - 3
src/modules/exam/components/createExamAndPrintTask/SelectTikuPaperDialog.vue

@@ -158,9 +158,7 @@ export default {
       const res = await tikuPaperListQuery(datas);
       this.dataList = res.records;
       this.total = res.total;
-      if (!this.dataList.length) {
-        this.showTkTips = true;
-      }
+      this.showTkTips = !this.dataList.length;
     },
     toPage(page) {
       this.current = page;