【bug】首页的跳转问题

This commit is contained in:
fengachen
2021-12-27 10:29:36 +08:00
parent 098c5bde7e
commit 3e96e8c72d
+8 -2
View File
@@ -1,5 +1,8 @@
import UserApi from '../../assets/js/http/userApi'
import MeetingApi from '../../assets/js/http/meetingApi'
import {
isLogin
} from '../../assets/js/common'
// pages/home/home.js
Page({
@@ -128,9 +131,12 @@ Page({
} else if (this.data.selectArr[index].val === '5') { // 合同
url = '../mineContract/mineContract'
}
wx.navigateTo({
url,
isLogin( () => {
wx.navigateTo({
url,
})
})
},
// 会议去报名,切换已读状态
messageDetail(e) {