From 908ce43ff21c2068ef5148b0a417423c8ed9eae5 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 12 三月 2025 16:37:32 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/dmvisit
---
h5/main.js | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/h5/main.js b/h5/main.js
index 41c035c..8a3b147 100644
--- a/h5/main.js
+++ b/h5/main.js
@@ -16,12 +16,14 @@
Vue.component('navigation', navigation)
Vue.prototype.$store = store
Vue.prototype.$jump = (url) => {uni.navigateTo({url})}
-Vue.prototype.$goBack = () => { uni.navigateBack() }
+Vue.prototype.$goBack = () => { setTimeout(() => {uni.navigateBack()},300) }
Vue.prototype.showToast = (str) => {
- uni.showToast({
- title: str,
- icon: 'none',
- duration: 2000
+ setTimeout(() => {
+ uni.showToast({
+ title: str,
+ icon: 'none',
+ duration: 2000
+ })
})
}
Vue.prototype.$eventBus = new Vue()
--
Gitblit v1.9.3