【bug】首页的跳转问题
This commit is contained in:
+8
-2
@@ -1,5 +1,8 @@
|
|||||||
import UserApi from '../../assets/js/http/userApi'
|
import UserApi from '../../assets/js/http/userApi'
|
||||||
import MeetingApi from '../../assets/js/http/meetingApi'
|
import MeetingApi from '../../assets/js/http/meetingApi'
|
||||||
|
import {
|
||||||
|
isLogin
|
||||||
|
} from '../../assets/js/common'
|
||||||
|
|
||||||
// pages/home/home.js
|
// pages/home/home.js
|
||||||
Page({
|
Page({
|
||||||
@@ -128,9 +131,12 @@ Page({
|
|||||||
} else if (this.data.selectArr[index].val === '5') { // 合同
|
} else if (this.data.selectArr[index].val === '5') { // 合同
|
||||||
url = '../mineContract/mineContract'
|
url = '../mineContract/mineContract'
|
||||||
}
|
}
|
||||||
wx.navigateTo({
|
isLogin( () => {
|
||||||
url,
|
wx.navigateTo({
|
||||||
|
url,
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
// 会议去报名,切换已读状态
|
// 会议去报名,切换已读状态
|
||||||
messageDetail(e) {
|
messageDetail(e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user