浏览代码

联系电话回显

seimin 11 月之前
父节点
当前提交
8cdadd6031
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pages/buildIncident/buildIncident.vue

+ 1 - 1
pages/buildIncident/buildIncident.vue

@@ -423,7 +423,7 @@
423 423
       if(incidentBuildStore.incidentBuild.sign === 'department'){
424 424
         incidentData.place = incidentData.department.place || undefined;
425 425
         incidentData.houseNumber = incidentData.department.address || '';
426
-        incidentData.contactsInformation = incidentData.department.phone || '';
426
+        incidentData.contactsInformation = incidentData.department.phone ? incidentData.department.phone.split(',')[0] : '';
427 427
       }
428 428
     }
429 429
     getBranchs();