From a2595cdfc4a8ee55220585119bcb39fdd29da6b1 Mon Sep 17 00:00:00 2001
From: wujingjing <gersonwu@qq.com>
Date: 星期一, 26 八月 2024 11:40:25 +0800
Subject: [PATCH] 禁止跳转

---
 src/components/amis/AMISRenderer.vue |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/components/amis/AMISRenderer.vue b/src/components/amis/AMISRenderer.vue
index b5e41e2..6538b0f 100644
--- a/src/components/amis/AMISRenderer.vue
+++ b/src/components/amis/AMISRenderer.vue
@@ -164,6 +164,9 @@
 				// 瑕嗙洊 amis env
 				// 鍙傝�� https://aisuda.bce.baidu.com/amis/zh-CN/docs/start/getting-started#sdk
 				jumpTo: (to, action) => {
+					return;
+					console.log("馃殌 ~ to:", to)
+					console.log("馃殌 ~ action:", action)
 					if (to === 'goBack') {
 						return router.go(-1);
 						
@@ -190,6 +193,10 @@
 				},
 
 				updateLocation: (location, replace) => {
+					// 绂佹璺宠浆
+					return;
+					console.log("馃殌 ~ location:", location)
+					console.log("馃殌 ~ replace:", replace)
 					if (location === 'goBack') {
 						return router.go(-1);
 					}

--
Gitblit v1.9.3