From 6b4d47828ed4b050b1297c3361834e4cbacb0ce4 Mon Sep 17 00:00:00 2001 From: liub Date: Fri, 15 Aug 2025 09:03:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9main.js=EF=BC=8C=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E5=8E=9F=E6=9C=89=E7=9A=84=E8=93=9D=E7=89=99=E6=8F=92?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 248201c..6fdb75f 100644 --- a/main.js +++ b/main.js @@ -2,14 +2,14 @@ import App from './App' // 引入 uView UI import uView from 'vk-uview-ui'; -import bleTool from '@/store/BLETools.js'; + // #ifndef VUE3 import Vue from 'vue' import store from './store/store'; import './uni.promisify.adaptor' Vue.config.productionTip = false -Vue.prototype.$bleTool = bleTool; + App.mpType = 'app' const app = new Vue({ store, @@ -25,7 +25,7 @@ import { } from 'vue' export function createApp() { const app = createSSRApp(App) - app.config.globalProperties.$bleTool = bleTool; + // 使用 uView UI app.use(uView) return {