|
|
|
@ -100,7 +100,7 @@ export default {
|
|
|
|
|
bankAccount: '',
|
|
|
|
|
bank: '',
|
|
|
|
|
bankNo: '',
|
|
|
|
|
photos: null,
|
|
|
|
|
photos: [],
|
|
|
|
|
creatorUserName: '',
|
|
|
|
|
creatorTime: "",
|
|
|
|
|
},
|
|
|
|
@ -147,7 +147,7 @@ export default {
|
|
|
|
|
method: 'get'
|
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.data.photos == null) {
|
|
|
|
|
res.data.photos = JSON.stringify([]);
|
|
|
|
|
res.data.photos = [];
|
|
|
|
|
}
|
|
|
|
|
this.dataInfo(res.data)
|
|
|
|
|
this.loading = false
|
|
|
|
@ -210,6 +210,9 @@ export default {
|
|
|
|
|
dataInfo(dataAll) {
|
|
|
|
|
let _dataAll = dataAll
|
|
|
|
|
_dataAll.photos = JSON.parse(_dataAll.photos)
|
|
|
|
|
if(_dataAll.photos == ''||_dataAll.photos == null){
|
|
|
|
|
_dataAll.photos = [];
|
|
|
|
|
}
|
|
|
|
|
this.dataForm = _dataAll
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|