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); }