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); })