You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
461 B
21 lines
461 B
|
1 month ago
|
import { parseScene } from '@/utils/util'
|
||
|
|
const app = getApp<IAppOption>()
|
||
|
|
|
||
|
|
Page({
|
||
|
|
data: {},
|
||
|
|
onLoad(options) {
|
||
|
|
if (options.scene) {
|
||
|
|
const { doctorId } = parseScene(options.scene) as { doctorId: string }
|
||
|
|
app.globalData.waitBindDoctorId = doctorId
|
||
|
|
}
|
||
|
|
app.waitLogin().then(() => {
|
||
|
|
// const initLoginInfo = app.globalData.initLoginInfo || {}
|
||
|
|
wx.reLaunch({
|
||
|
|
url: '/pages/index/index',
|
||
|
|
})
|
||
|
|
})
|
||
|
|
},
|
||
|
|
})
|
||
|
|
|
||
|
|
export {}
|