From 971b4f60ec3a912cb8a507b1cb49b2fefe1b75c4 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期日, 24 十一月 2024 18:56:49 +0800 Subject: [PATCH] !155 refactor: 直接从@/lang/*.ts后缀的i18n文件中读取各国语言包信息 Merge pull request !155 from QianRj/优化i18n --- src/components/Process/approvalRecord.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Process/approvalRecord.vue b/src/components/Process/approvalRecord.vue index cbce87a..bb4ed91 100644 --- a/src/components/Process/approvalRecord.vue +++ b/src/components/Process/approvalRecord.vue @@ -67,17 +67,17 @@ const bpmnViewRef = ref<BpmnView>(); //鍒濆鍖栨煡璇㈠鎵硅褰� -const init = async (instanceId: string) => { +const init = async (businessKey: string | number) => { visible.value = true; loading.value = true; tabActiveName.value = 'bpmn'; historyList.value = []; - processApi.getHistoryRecord(instanceId).then((resp) => { + processApi.getHistoryRecord(businessKey).then((resp) => { historyList.value = resp.data; loading.value = false; }); await nextTick(() => { - bpmnViewRef.value.init(instanceId); + bpmnViewRef.value.init(businessKey); }); }; -- Gitblit v1.9.3