From f9a9004b3b59321adeb1607d9c3f9d301e075731 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 09 五月 2024 17:19:42 +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