|
|
@@ -490,7 +490,7 @@ export default {
|
|
|
// 注意:ImageUpload组件通常需要逗号分隔的字符串或数组(取决于版本),若依默认通常存相对路径
|
|
|
// 这里假设后端返回的是相对路径,如果不是,ImageUpload会自动处理显示,但v-model最好绑定相对路径
|
|
|
this.jsInfos = data;
|
|
|
- this.jsInfos.deptId = Number(data.deptId);
|
|
|
+ this.jsInfos.deptId = data.deptId === null ? '' : Number(data.deptId);
|
|
|
this.jsInfos.serviceAreaCodes = data.serviceAreaCodes.split(',');
|
|
|
this.jsInfos.serviceAreaJson = JSON.parse(data.serviceAreaJson);
|
|
|
console.log(this.jsInfos,'1111111')
|