zhangjie 2 周之前
父节点
当前提交
daa2c91c70
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      src/modules/exam/components/createExamAndPrintTask/SelectTikuPaperDialog.vue

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