文章加密

;

2021年6月17日 星期四

為什麼router-view切換 會重整頁面? 和 Missing Trailing slash for named routes in strict mode

 redirect("https://xxx.com/") 因為戴https,所以一定會重打



Missing Trailing slash for named routes in strict mode: 

{
            path: ":test1/:test?/",
            name: "Test",
            component: Deals,
            pathToRegexpOptions: {
              strict: true
            },
          }

reference: https://github.com/vuejs/vue-router/issues/2913

沒有留言:

張貼留言