fix: 审批中心列表加载崩溃——flowOptions 漏解包 ref
flowCode 筛选参数误写 flowOptions[flowIndex.value],script setup 中 ref 未解包,恒抛 Cannot read properties of undefined (reading 'value'), 导致待办/我发起的/已办三个列表从未发出请求、永远显示空态。 浏览器实测(E2E 走查)发现并验证修复。
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user