测试

parent 2222faf4
......@@ -16,9 +16,9 @@ export function createApp() {
pinia.use(piniaPersist)
app.use(pinia)
app.use(router);
// let vConsole = new Vconsole();
let vConsole = new Vconsole();
app.component('Header', Header);
// app.use(vConsole);
app.use(vConsole);
return {
app,
};
......
......@@ -103,6 +103,7 @@ onShow(() => {
})
const toLogin = () => {
console.log('toLogin')
if (userStore.isLogin())
return
router.push({ name: 'account-login' })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment