Commit 8cc19c9e95de35fb9c247fb0b5b6f1fd03feed70
1 parent
583f7e8d
fix: DEFECT-981 update product profile happend error
Showing
1 changed file
with
3 additions
and
3 deletions
@@ -162,10 +162,10 @@ | @@ -162,10 +162,10 @@ | ||
162 | ...postSubmitFormData.deviceConfData, | 162 | ...postSubmitFormData.deviceConfData, |
163 | ...{ transportType: !isEmptyObj ? transportTypeStr.value : 'DEFAULT' }, | 163 | ...{ transportType: !isEmptyObj ? transportTypeStr.value : 'DEFAULT' }, |
164 | ...{ profileData: !isEmptyObj ? transportConfData.profileData : null }, | 164 | ...{ profileData: !isEmptyObj ? transportConfData.profileData : null }, |
165 | - ...{ id: isUpdate.value ? null : isEditId.value }, | ||
166 | - ...{ createTime: isUpdate.value ? null : isEditCreatTime.value }, | 165 | + ...{ id: isUpdate.value ? isEditId.value : null }, |
166 | + ...{ createTime: isUpdate.value ? isEditCreatTime.value : null }, | ||
167 | }); | 167 | }); |
168 | - createMessage.success(isUpdate.value ? `新增成功` : `编辑成功`); | 168 | + createMessage.success(isUpdate.value ? `编辑成功` : `新增成功`); |
169 | handleCancel(); | 169 | handleCancel(); |
170 | emits('success'); | 170 | emits('success'); |
171 | }; | 171 | }; |