From b62578f8b43f15be89b3d14f463f11aed03e6fb9 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 09 五月 2024 18:57:25 +0800
Subject: [PATCH] 最新版本

---
 h5/main.js |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/h5/main.js b/h5/main.js
index bdae919..8f6f90a 100644
--- a/h5/main.js
+++ b/h5/main.js
@@ -17,7 +17,12 @@
 Vue.use(uView)
 Vue.component('Tabbar', Tabbar)
 Vue.component('navigation', navigation)
-Vue.prototype.$store = store;
+Vue.prototype.$store = store
+Vue.prototype.$jump = (url) => {
+	uni.navigateTo({
+		url
+	})
+}
 Vue.prototype.$onWait = new Promise((resolve) => {
   Vue.prototype.$reslove = resolve
 })
@@ -25,7 +30,7 @@
 
 
 const app = new Vue({
-	store,
+  store,
   ...App
 })
 

--
Gitblit v1.9.3