修改商城和充费跳转
This commit is contained in:
@@ -54,6 +54,11 @@ Page({
|
||||
|
||||
},
|
||||
jumpToRecharge() {
|
||||
const { user } = this.data;
|
||||
if (!user || !user?.id) {
|
||||
alertInfo("请先登录")
|
||||
return;
|
||||
}
|
||||
wx.navigateTo({
|
||||
url: '/pages/recharge/index',
|
||||
})
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
"usingComponents": {
|
||||
"custom-status-bar": "/components/customStatusBar/index",
|
||||
"van-icon": "@vant/weapp/icon/index",
|
||||
"van-button": "@vant/weapp/button/index",
|
||||
"van-image": "@vant/weapp/image/index",
|
||||
"avatar": "/components/avatar/index",
|
||||
"van-field": "@vant/weapp/field/index",
|
||||
|
||||
Reference in New Issue
Block a user