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