diff --git a/collect_information/src/app.ts b/collect_information/src/app.ts index 150d716..95a2ac5 100644 --- a/collect_information/src/app.ts +++ b/collect_information/src/app.ts @@ -10,25 +10,25 @@ const pinia = createPinia() // pinia.use(piniaPluginPersistedstate) const App = createApp({ onShow(options) { - try { - const store = useCounterStore() - const token = Taro.getStorageSync('token') - console.log(token) - if (token) { - Taro.switchTab({ - url: '/pages/mine/mine' - // url: '/pages/projectManager/index/index' - - }) - store.setSelected(2) - } else { - console.log(2222) - } - console.log('App onShow.') - } catch (err) { - console.log(err) - - } + // try { + // const store = useCounterStore() + // const token = Taro.getStorageSync('token') + // console.log(token) + // if (token) { + // Taro.switchTab({ + // url: '/pages/mine/mine' + // // url: '/pages/projectManager/index/index' + // + // }) + // store.setSelected(2) + // } else { + // console.log(2222) + // } + // console.log('App onShow.') + // } catch (err) { + // console.log(err) + // + // } }, // 入口组件不需要实现 render 方法,即使实现了也会被 taro 所覆盖 diff --git a/collect_information/src/subPages/pages/form/form.vue b/collect_information/src/subPages/pages/form/form.vue index 3fd8a3a..04281ae 100644 --- a/collect_information/src/subPages/pages/form/form.vue +++ b/collect_information/src/subPages/pages/form/form.vue @@ -1,6 +1,5 @@