Commit a8e58b72 authored by 李晓兵's avatar 李晓兵

'附件上传'

parent fe0e16d1
......@@ -545,23 +545,18 @@ export default {
let cameraoptions = {
quality: 100,
}
obj.picture = 'http://img1.gtimg.com/auto/pics/hv1/148/233/2219/144350038.jpg'
obj.filePath = 'http://img1.gtimg.com/auto/pics/hv1/148/233/2219/144350038.jpg'
let list = []
list.push(obj)
vm.save_picture(list)
/*let success = function (imgdata) {
let success = function (imgdata) {
obj.picture = imgdata
obj.filePath = imgdata
let list = []
list.push(obj)
// vm.upload_list.push(obj)
// 拍完一张立马执行保存图片逻辑
vm.save_picture(list)
}
let error = function () {
}
hlsUtil.openCamera(cameraoptions, success, error)*/
hlsUtil.openCamera(cameraoptions, success, error)
},
imgUploadTakePicture(){
let vm = this
......
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