123456789101112131415161718 |
- import App from './App';
- import { createSSRApp } from 'vue';
- import { setupPinia } from './sheep/store';
- // 清除缓存
- uni.removeStorageSync('linkId');
- console.log("main.js清缓存了",uni.getStorageSync('linkId'))
- export function createApp() {
-
- const app = createSSRApp(App);
-
- setupPinia(app);
- return {
- app,
- };
- }
|