From c8b32b8bca79a116cfab70eb8c389907b664c9ca Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期三, 23 四月 2025 10:43:14 +0800
Subject: [PATCH] 提交

---
 h5/main.js |   25 ++++++++++++++++++++++++-
 1 files changed, 24 insertions(+), 1 deletions(-)

diff --git a/h5/main.js b/h5/main.js
index d0f69df..13eca89 100644
--- a/h5/main.js
+++ b/h5/main.js
@@ -1,14 +1,37 @@
 import App from './App'
 import Vue from 'vue'
 import uView from "uview-ui";
+import store from './store/index.js'
 import './uni.promisify.adaptor'
+import Vconsole from 'vconsole'
+import * as ww from '@wecom/jssdk'
 
 Vue.config.productionTip = false
 App.mpType = 'app'
 Vue.use(uView);
 
+// Vue.prototype.$baseUrl = 'https://dmtest.ahapp.net/lianhelihua_interface'
+Vue.prototype.$baseUrl = 'http://192.168.0.134:10040'
+Vue.prototype.$store = store;
+Vue.prototype.$ww = ww;
+Vue.prototype.$vConsole= new Vconsole()
+//绂佹婊戝姩
+Vue.prototype.stopScroll = function () {
+	var box = function(e) { passive: false };
+	document.body.style.overflow = 'hidden';
+	document.addEventListener("touchmove", box, false);
+}
+//鍙互婊戝姩
+Vue.prototype.canScroll = function () {
+	var box = function(e) { passive: false };
+	document.body.style.overflow= '';
+	document.removeEventListener("touchmove", box, false);
+}
+
+
 const app = new Vue({
-  ...App
+	store,
+	...App
 })
 
 // http鎺ュ彛API鎶界

--
Gitblit v1.9.3