Преглед изворни кода

导入成功后,回填表格的查询条件

刘洋 пре 2 година
родитељ
комит
d2577ca590
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      components.d.ts
  2. 1 1
      src/pages/subjects-manage/index.vue

+ 1 - 1
components.d.ts

@@ -18,8 +18,8 @@ declare module '@vue/runtime-core' {
     ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup']
     ASelect: typeof import('ant-design-vue/es')['Select']
     ASelectOption: typeof import('ant-design-vue/es')['SelectOption']
-    ASpin: typeof import('ant-design-vue/es')['Spin']
     ATable: typeof import('ant-design-vue/es')['Table']
+    ATextarea: typeof import('ant-design-vue/es')['Textarea']
     ATooltip: typeof import('ant-design-vue/es')['Tooltip']
     AUpload: typeof import('ant-design-vue/es')['Upload']
     Block: typeof import('./src/components/block/index.vue')['default']

+ 1 - 1
src/pages/subjects-manage/index.vue

@@ -439,8 +439,8 @@ watch(
   () => {
     if (!modalParamsActive.value) {
       query.examId = "";
-      modalParamsActive.value = false;
     }
+    modalParamsActive.value = false;
     Object.assign(examTableData, { result: [], totalCount: 0 });
     if (query.schoolId) {
       queryExamList("", "list");