main.js 335 B

123456789101112131415161718
  1. import App from './App';
  2. import { createSSRApp } from 'vue';
  3. import { setupPinia } from './sheep/store';
  4. // 清除缓存
  5. uni.removeStorageSync('linkId');
  6. console.log("main.js清缓存了",uni.getStorageSync('linkId'))
  7. export function createApp() {
  8. const app = createSSRApp(App);
  9. setupPinia(app);
  10. return {
  11. app,
  12. };
  13. }