Commit 92c63847 authored by 小费同学阿's avatar 小费同学阿 💬

问题一:图片上传修复

parent e2c592e2
...@@ -319,9 +319,7 @@ export default { ...@@ -319,9 +319,7 @@ export default {
tokenMsg: getToken() tokenMsg: getToken()
} }
this.$WebView.openCameraAll(params).then(res => { this.$WebView.openCameraAll(params).then(res => {
this.imgUrlForm = JSON.parse(res) this.fileList.push(JSON.parse(res))
console.info(imgUrlForm)
this.fileList.push(imgUrlForm)
}) })
}, },
handlePpenCameraAll2() { handlePpenCameraAll2() {
...@@ -330,8 +328,7 @@ export default { ...@@ -330,8 +328,7 @@ export default {
tokenMsg: getToken() tokenMsg: getToken()
} }
this.$WebView.openCameraAll(params).then(res => { this.$WebView.openCameraAll(params).then(res => {
this.imgUrlForm = JSON.parse(res) this.fileList.push(JSON.parse(res))
this.fileFakeList.push(imgUrlForm)
}) })
}, },
handlePreview(file) { handlePreview(file) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment