Browse Source

refactor(页面导航): 调整页面跳转逻辑并移除注释代码

- 在index.vue中移除被注释的跳转到介绍页的代码
- 在title.vue中将跳转目标从preAppoint改为article页,并移除注释代码
master
前端-胡立永 1 day ago
parent
commit
50204bd0c1
2 changed files with 9 additions and 5 deletions
  1. +4
    -0
      pages/index/index.vue
  2. +5
    -5
      pages/index/title.vue

+ 4
- 0
pages/index/index.vue View File

@ -93,6 +93,10 @@
success(modalRes) { success(modalRes) {
if (modalRes.confirm) { if (modalRes.confirm) {
wx.openSetting(); wx.openSetting();
// uni.navigateTo({
// url: '/pages/index/introduce'
// })
} }
}, },
}); });


+ 5
- 5
pages/index/title.vue View File

@ -58,13 +58,13 @@
}, },
methods: { methods: {
next(){ next(){
// uni.navigateTo({
// url: '/pages/index/article'
// })
uni.navigateTo({ uni.navigateTo({
url: '/pages/index/preAppoint'
url: '/pages/index/article'
}) })
// uni.navigateTo({
// url: '/pages/index/preAppoint'
// })
}, },
async save(){ async save(){
await this.$authorize('scope.writePhotosAlbum') await this.$authorize('scope.writePhotosAlbum')


Loading…
Cancel
Save