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