Browse Source

修复阿里云oss上传bug

master
longjieli 5 months ago
parent
commit
96fe08e7a0
3 changed files with 2 additions and 4 deletions
  1. +2
    -1
      config.js
  2. +0
    -1
      pages/order/order.vue
  3. +0
    -2
      pages/repair/repair.vue

+ 2
- 1
config.js View File

@ -26,13 +26,14 @@ const config = {
const defaultConfig = {
mapKey : '',
aliOss : {
//阿里云oss绑定的域名
url : 'https://tennis-oss.xzaiyp.top/',
config : {
//桶的地址
region: 'oss-cn-guangzhou',
//id
accessKeyId:'LTAI5tNycA46YTwm383dRvMV',
//密钥
//密钥s
accessKeySecret:'tAdbYQCmdur6jbZ8hjvgB7T1Z52mIG',
//桶的名字
bucket: 'zhuoqiu-image',


+ 0
- 1
pages/order/order.vue View File

@ -86,7 +86,6 @@
url: "/pages/center/center"
})
// returntrue
console.log("aaaaaaa");
this.backPressOptions = e
return true;
},


+ 0
- 2
pages/repair/repair.vue View File

@ -160,9 +160,7 @@
},
onShow() {
if (wx.onNeedPrivacyAuthorization) {
console.log('onNeedPrivacyAuthorization');
wx.onNeedPrivacyAuthorization(resolve => {
console.log('onNeedPrivacyAuthorization');
this.resolvePrivacyAuthorization = resolve
this.$refs.showPrivacy.init(resolve)
})


Loading…
Cancel
Save