From 7298d5354963a88643a543b51b90192dc9fc934c Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 11 九月 2025 18:43:14 +0800
Subject: [PATCH] 最新版本541200007
---
 pda/main.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/pda/main.js b/pda/main.js
index 67dd82e..bc62144 100644
--- a/pda/main.js
+++ b/pda/main.js
@@ -8,6 +8,17 @@
 Vue.use(uView)
 Vue.config.productionTip = false
 Vue.prototype.$store = store
+Vue.prototype.$jump = (url) => {uni.navigateTo({url})}
+Vue.prototype.$goBack = () => { uni.navigateBack() }
+Vue.prototype.showToast = (str) => {
+	setTimeout(() => {
+		uni.showToast({
+		  title: str,
+		  icon: 'none',
+		  duration: 2000
+		})
+	},100)
+}
 
 App.mpType = 'app'
 const app = new Vue({
@@ -21,6 +32,7 @@
 import { createSSRApp } from 'vue'
 export function createApp() {
   const app = createSSRApp(App)
+	app.use(uView)
   return {
     app
   }
--
Gitblit v1.9.3