|
|
|
@ -186,6 +186,8 @@ export default {
|
|
|
|
|
this.$emit('refresh', true)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}).catch((err) => {
|
|
|
|
|
this.submitDisabled = false
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
request({
|
|
|
|
@ -203,6 +205,8 @@ export default {
|
|
|
|
|
this.$emit('refresh', true)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}).catch((err) => {
|
|
|
|
|
this.submitDisabled = false
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
@ -214,7 +218,7 @@ export default {
|
|
|
|
|
dataInfo(dataAll) {
|
|
|
|
|
let _dataAll = dataAll
|
|
|
|
|
_dataAll.photos = JSON.parse(_dataAll.photos)
|
|
|
|
|
if(_dataAll.photos == ''||_dataAll.photos == null){
|
|
|
|
|
if (_dataAll.photos == '' || _dataAll.photos == null) {
|
|
|
|
|
_dataAll.photos = [];
|
|
|
|
|
}
|
|
|
|
|
this.dataForm = _dataAll
|
|
|
|
|