diff --git a/pages/news3/JoinDistribution.vue b/pages/news3/JoinDistribution.vue index 4e4d1e1..5d72924 100644 --- a/pages/news3/JoinDistribution.vue +++ b/pages/news3/JoinDistribution.vue @@ -118,13 +118,16 @@ app.isLoading = true Api.center() .then(result => { + if(result.data.length>0){ + const data = result.data + app.isDealer = data.isDealer + app.user = data.user + app.dealer = data.dealer + app.refereeName = data.refereeName + app.setting = data.setting + } // api数据赋值 - const data = result.data - app.isDealer = data.isDealer - app.user = data.user - app.dealer = data.dealer - app.refereeName = data.refereeName - app.setting = data.setting + // 设置当前页面标题 app.setPageTitle() app.isLoading = false diff --git a/pages/serve/index.vue b/pages/serve/index.vue index 4b66db9..9ae3d73 100644 --- a/pages/serve/index.vue +++ b/pages/serve/index.vue @@ -91,7 +91,7 @@ return ; } uni.navigateTo({ - url: "/pages/member/index?type=hy" + url: '/pages/member/index1?type=hy' }) }, getMemberList() { diff --git a/pages/user/index.vue b/pages/user/index.vue index 42b5b30..9f2a051 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -765,7 +765,7 @@ // icon: 'none', // duration: 2000 // }) - this.goJump('/pages/member/index1'); + this.goJump('/pages/member/index'); } }, openScrollTo() {