Commit fd0a6501 authored by 肖健's avatar 肖健

Merge remote-tracking branch 'remotes/origin/dev_cd' into dev_jd

parents 0a3be51e 369d390f
......@@ -170,7 +170,7 @@ export default {
// })
uni.navigateToMiniProgram({
appId: 'wx91d27dbf599dff74', // 跳转目标小程序的id
path: '', // 目标小程序的页面路径
path: link, // 目标小程序的页面路径
extraData: { // 需要携带的参数
},
success(res) {// 打开成功
......
......@@ -75,7 +75,7 @@ export default {
// })
uni.navigateToMiniProgram({
appId: 'wx91d27dbf599dff74', // 跳转目标小程序的id
path: '', // 目标小程序的页面路径
path: link, // 目标小程序的页面路径
extraData: { // 需要携带的参数
},
success(res) {// 打开成功
......
......@@ -239,15 +239,16 @@ export default {
},
select() {
let that = this
uni.showLoading({
title:"加载中",
mask:true
})
uni.chooseImage({
count: 1, //默认9
sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
sourceType: ['album'], //从相册选择
success: function (res) {
uni.showLoading({
title:"加载中",
mask:true
})
const tempFilePaths = res.tempFilePaths;
uni.uploadFile({
url: that.http.baseUrl + '/app/user/upload',
......@@ -295,9 +296,6 @@ export default {
});
}
});
},
fail() {
uni.hideLoading()
}
});
......
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