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 | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/h5/main.js b/h5/main.js
index a3374c9..8f6f90a 100644
--- a/h5/main.js
+++ b/h5/main.js
@@ -18,6 +18,11 @@
Vue.component('Tabbar', Tabbar)
Vue.component('navigation', navigation)
Vue.prototype.$store = store
+Vue.prototype.$jump = (url) => {
+ uni.navigateTo({
+ url
+ })
+}
Vue.prototype.$onWait = new Promise((resolve) => {
Vue.prototype.$reslove = resolve
})
--
Gitblit v1.9.3