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.
|
|
|
|
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',
|
|
|
|
|
// })
|
|
|
|
|
// })
|
|
|
|
|
// wx.reLaunch({
|
|
|
|
|
// url: '/pages/index/index',
|
|
|
|
|
// })
|
|
|
|
|
},
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
export {}
|