import { parseScene } from '@/utils/util' const app = getApp() 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 {}