浏览代码

fix:修改教材变更

全蛋 4 月之前
父节点
当前提交
2cc486af0a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/educational/textbookSubscription/components/changeTextBook.vue

+ 1 - 1
src/views/educational/textbookSubscription/components/changeTextBook.vue

@@ -77,7 +77,7 @@
   });
   const { createMessage } = useMessage();
   const handleSubmit = () => {
-    dataSource.value = getSelectRows();
+    setTableData(getSelectRows());
     changeType.value = 2;
     handleCancel();
   };