h5/pages/index/index.vue
@@ -29,7 +29,10 @@ </template> <script> import { wxAuthorize, app_url } from '@/api' import { wxAuthorize, app_url } from '@/api' export default { data() { @@ -38,7 +41,18 @@ } }, onLoad() { const ywinfo = uni.getStorageSync('ywinfo') || {} if (ywinfo.ywid && ywinfo.type == 1) { setTimeout(() => { uni.removeStorageSync('ywinfo') }, 500) const yw = ywinfo.yw if (yw == 2) { uni.navigateTo({ url: '/pages/appointmentDetails/appointmentDetails?id=' + ywinfo.ywid }) } } }, methods: { jump(type) {