From da8d6c4b32f62fedf21ac2e237d5a32262423f8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Czouyf=E2=80=9D?= <80906036@qq.com> Date: Fri, 20 Dec 2024 14:44:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=8F=81=E4=BC=98=E7=BD=91?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/views/model/index.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/renderer/src/views/model/index.vue b/src/renderer/src/views/model/index.vue index 4bc6ebb..dd15098 100644 --- a/src/renderer/src/views/model/index.vue +++ b/src/renderer/src/views/model/index.vue @@ -98,10 +98,13 @@ import progressDialog from '@/views/teachingDesign/container/progress-dialog.vue import msgUtils from "@/plugins/modal"; import * as commUtils from "@/utils/comm"; import * as Api_server from "@/api/apiService"; // 学科名字文生图 +import useClassTaskStore from '@/store/modules/classTask' + const router = useRouter() const userStore = useUserStore().user // 用户信息 const currentNode = ref({}) const refs = ref([]); +const classTaskStore = useClassTaskStore(); const collectRef = (key) => { return (el) => { @@ -513,7 +516,9 @@ const changeClass = async (type, row, other) => { } // 页面加载 -onMounted(() => { +onMounted(async () => { + // 更新第三方题型题类 + await classTaskStore.initJYInfo(userStore); })