Skip to content

Commit

Permalink
未登录 点击免费开店 提示
Browse files Browse the repository at this point in the history
  • Loading branch information
z1hui committed Sep 5, 2022
1 parent d2c6820 commit 50767e3
Showing 1 changed file with 9 additions and 2 deletions.
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 50767e3

Please sign in to comment.