From 6ef1b14f735acdc3ff77a50da1bb09a5bb983dcc Mon Sep 17 00:00:00 2001 From: tj <1378534974@qq.com> Date: 星期三, 28 五月 2025 17:37:06 +0800 Subject: [PATCH] location,userinfo --- main.js | 17 ++--------------- 1 files changed, 2 insertions(+), 15 deletions(-) diff --git a/main.js b/main.js index d2d448c..25e2fac 100644 --- a/main.js +++ b/main.js @@ -4,20 +4,8 @@ import { createPinia } from 'pinia' import message from './plugins/message' import http from './plugins/http.js' -import store from './store' +// import store from './store/index.js' -// #ifndef VUE3 -import Vue from 'vue' -import './uni.promisify.adaptor' -Vue.config.productionTip = false -App.mpType = 'app' -const app = new Vue({ - ...App -}) -app.$mount() -// #endif - -// #ifdef VUE3 import { createSSRApp } from 'vue' @@ -53,7 +41,7 @@ // 全局属性 app.config.globalProperties.$message = message app.config.globalProperties.$http = http - app.config.globalProperties.$store = store + // app.config.globalProperties.$store = store // uni.$u.setConfig({ // config: { @@ -99,4 +87,3 @@ app } } -// #endif \ No newline at end of file -- Gitblit v1.9.3