From 16332a341801f80d27830d2ea4e683b4ab21167c Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 21 四月 2025 18:28:00 +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..0b4bd45 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.131: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