wujingjing
2024-08-26 a2595cdfc4a8ee55220585119bcb39fdd29da6b1
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);
               }