|
@@ -400,8 +400,8 @@ const getDetail = async (id: string) => {
|
|
|
try {
|
|
|
const res: any = await orderDetail(id);
|
|
|
state.ruleForm = res.result;
|
|
|
- state.workflow = state.ruleForm?.workflow;
|
|
|
- state.supplements = res.result?.workflow?.supplements;
|
|
|
+ state.workflow = state.ruleForm?.workflow ?? {};
|
|
|
+ state.supplements = res.result?.workflow?.supplements ?? [];
|
|
|
state.loading = false;
|
|
|
state.isShowDialog = true;
|
|
|
} catch (error) {
|