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
沒有留言:
張貼留言