添加登录逻辑

This commit is contained in:
bobobobo
2025-12-24 02:01:34 +08:00
parent 8271e4e0bb
commit 6f418fae8a
35 changed files with 928 additions and 94 deletions

16
main.js
View File

@@ -6,7 +6,7 @@ import './uni.promisify.adaptor'
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
...App
...App
})
app.$mount()
// #endif
@@ -15,11 +15,11 @@ app.$mount()
import { createSSRApp } from 'vue'
import * as Pinia from 'pinia'
export function createApp() {
const app = createSSRApp(App)
app.use(Pinia.createPinia())
return {
app,
Pinia, // 此处必须将 Pinia 返回
}
const app = createSSRApp(App)
app.use(Pinia.createPinia())
return {
app,
Pinia // 此处必须将 Pinia 返回
}
}
// #endif
// #endif