Commit 70df6407 authored by 李俊赕's avatar 李俊赕

xi

parent bf053579
......@@ -58,7 +58,7 @@
// 直接打开相册
let config = {
options:{
consourceType:['album'],//['album', 'camera']
sourceType:['album'],//['album', 'camera']
}
}
await this.chooseImage('qiniu',config)
......
......@@ -16,6 +16,7 @@ export const randomChar = function(l, url = "") {
}
//图片选择
export const chooseImage = function(data) {
console.log(data,'data-chooseImage')
return new Promise((resolve, reject) => {
uni.chooseImage({
count: data.count || 9, //默认9
......
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