From a042dd4ca4ceb0671e135a96fdfe44cf32415fa1 Mon Sep 17 00:00:00 2001 From: 13404089107 <puwei@sinata.cn> Date: 星期一, 24 二月 2025 11:00:02 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide --- H5/main.js | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/H5/main.js b/H5/main.js index 0d1cd63..597b275 100644 --- a/H5/main.js +++ b/H5/main.js @@ -2,23 +2,27 @@ // #ifndef VUE3 import Vue from 'vue' +import store from '@/store/index.js' import './uni.promisify.adaptor' Vue.config.productionTip = false +Vue.prototype.$store = store import uView from '@/uni_modules/uview-ui' App.mpType = 'app' const app = new Vue({ - ...App + ...App }) app.$mount() // #endif Vue.use(uView) // #ifdef VUE3 -import { createSSRApp } from 'vue' +import { + createSSRApp +} from 'vue' export function createApp() { - const app = createSSRApp(App) - return { - app - } + const app = createSSRApp(App) + return { + app + } } // #endif \ No newline at end of file -- Gitblit v1.7.1