...
|
...
|
@@ -151,7 +151,7 @@ |
151
|
151
|
...record,
|
152
|
152
|
...record?.configuration,
|
153
|
153
|
name: record?.name,
|
154
|
|
- description: record?.additionalInfo?.description,
|
|
154
|
+ description: record?.configuration.description || record?.additionalInfo?.description,
|
155
|
155
|
});
|
156
|
156
|
};
|
157
|
157
|
|
...
|
...
|
@@ -178,10 +178,11 @@ |
178
|
178
|
};
|
179
|
179
|
|
180
|
180
|
//上一步
|
181
|
|
- const handlePrevDataFlowMethod = (value) => {
|
182
|
|
- currentStep.value = value;
|
|
181
|
+ const handlePrevDataFlowMethod = (oldData: { currentStep: number; values: Object }) => {
|
|
182
|
+ currentStep.value = oldData.currentStep;
|
183
|
183
|
setModalProps({ showOkBtn: false });
|
184
|
184
|
if (hasEditOrView(businessText.value)) {
|
|
185
|
+ restData.data = { ...restData.data, configuration: oldData.values };
|
185
|
186
|
setValue(restData.data);
|
186
|
187
|
}
|
187
|
188
|
};
|
...
|
...
|
|