fix: 审批中心列表加载崩溃——flowOptions 漏解包 ref

flowCode 筛选参数误写 flowOptions[flowIndex.value],script setup 中
ref 未解包,恒抛 Cannot read properties of undefined (reading 'value'),
导致待办/我发起的/已办三个列表从未发出请求、永远显示空态。
浏览器实测(E2E 走查)发现并验证修复。
This commit is contained in:
2026-10-31 09:27:40 +08:00
parent 9d287b4f32
commit 0108d31d75
+1 -1
View File
@@ -269,7 +269,7 @@ async function load(reset: boolean) {
limit,
keywords: keywords.value || undefined,
status: statusOptions[statusIndex.value].value || undefined,
flowCode: flowOptions[flowIndex.value].value || undefined
flowCode: flowOptions.value[flowIndex.value].value || undefined
};
const result =
tab === 'todo'