vue路由tags切换缓存页面,通过点击触发刷新页面

2023-02-15  本文已影响0人  而生lhw
this.$store.dispatch("tagsView/delCachedView",  this.$router.resolve({ name: 'Request' }).route).then(() => {
              const fullPath = "/shopping_cart/request";
              this.$nextTick(() => {
                this.$router.replace({
                  path: "/shopping_cart/request",
                  query: {
                    id: "0"
                  },
                });
              });
            });
上一篇 下一篇

猜你喜欢

热点阅读