Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Brother-Dragon committed Sep 19, 2022
2 parents 7b753c7 + 84c2898 commit 207916a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
7 changes: 1 addition & 6 deletions doc/基本开发文档/文件上传.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,7 @@ biz:
- VUE_APP_RESOURCES_URL: 对应上面后台配置的resources-url
- VUE_APP_RESOURCES_TYPE: 对应上面后台配置的type

2. `mall4cloud-pc` 这个项目修改 `plugins/config.js`

- resourcesUrl: 对应上面后台配置的resources-url
- resourcesActionType: 对应上面后台配置的type

3. `mall4cloud-uniapp` 这个项目修改 `src/utils/config.js`
2. `mall4cloud-uniapp` 这个项目修改 `src/utils/config.js`

- resourcesUrl: 对应上面后台配置的resources-url
- resourcesActionType: 对应上面后台配置的type
11 changes: 9 additions & 2 deletions front-end/mall4cloud-uniapp-master/src/pages/my/my.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,9 +229,16 @@ export default {
url: '/pages/free-shop/free-shop'
})
} else {
uni.navigateTo({
url: '/'
uni.showToast({
title: '请登录账号',
duration: 2000,
icon: 'error'
})
setTimeout(() => {
uni.navigateTo({
url: '/'
})
}, 2000)
}
},
notOpen(title) {
Expand Down

0 comments on commit 207916a

Please sign in to comment.