Browse Source

SBBJ-1014问题分享平台,新增报异常

master
zhaoyiran 3 weeks ago
parent
commit
cf6921d69d
  1. 3
      src/views/eam/device/problemSharingPlatform/index.vue

3
src/views/eam/device/problemSharingPlatform/index.vue

@ -166,6 +166,9 @@ const formsSuccess = async (formType,data) => {
if(data.activeTime==0)data.activeTime = null;
if(data.expireTime==0)data.expireTime = null;
if (formType === 'create') {
if (data.uploadImgs === "") data.uploadImgs = [];
if (data.uploadFiles === "") data.uploadFiles = [];
await ProblemSharingPlatformApi.createProblemSharingPlatform(data)
message.success(t('common.createSuccess'))
} else {

Loading…
Cancel
Save