Commit dd20b7d4 authored by linxin's avatar linxin

add

parent fca43d1a
...@@ -479,6 +479,8 @@ export default { ...@@ -479,6 +479,8 @@ export default {
} else { } else {
vm.isUpload = true vm.isUpload = true
vm.vehicleImg = hlsUtil.convertImageUrl(imgUrl[0]) vm.vehicleImg = hlsUtil.convertImageUrl(imgUrl[0])
console.log('$$$$$$$$$$$$$$$1' + imgUrl[0])
console.log('$$$$$$$$$$$$$$$2' + vm.vehicleImg)
vm.vehicleIdentify(imgUrl[0]) vm.vehicleIdentify(imgUrl[0])
} }
} }
......
...@@ -750,7 +750,7 @@ export default { ...@@ -750,7 +750,7 @@ export default {
quality: 100, quality: 100,
} }
let success = function (imgdata) { let success = function (imgdata) {
obj.picture = imgdata obj.picture = hlsUtil.convertImageUrl(imgdata)
obj.filePath = imgdata obj.filePath = imgdata
vm.upLoadObj = obj.picture vm.upLoadObj = obj.picture
vm.save_picture(obj) vm.save_picture(obj)
...@@ -776,9 +776,10 @@ export default { ...@@ -776,9 +776,10 @@ export default {
quality: 100, quality: 100,
} }
let success = function (imgUrl) { let success = function (imgUrl) {
obj.picture = imgUrl[0] obj.picture = hlsUtil.convertImageUrl(imgUrl[0])
obj.filePath = imgUrl[0] obj.filePath = imgUrl[0]
vm.upLoadObj = obj.picture vm.upLoadObj = obj.picture
console.log('$$$$$$$$$$$$$$$1' + imgUrl[0])
// 拍完一张立马执行保存图片逻辑 // 拍完一张立马执行保存图片逻辑
vm.save_picture(obj) vm.save_picture(obj)
} }
......
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