SilurianYang / uni-simple-router

A simple, lightweight 'uni-app' routing plugin
https://v2.hhyang.cn/v2/
MIT License
749 stars 163 forks source link

为什么设置了redirect,浏览器中hash值不改变 #367

Closed littleboyck closed 1 year ago

littleboyck commented 2 years ago

const router = createRouter({ platform: process.env.VUE_APP_PLATFORM, routes: [{ path: '/', redirect: '/page/index/index' },...ROUTES] });

// 如上配置后,浏览器hash值未变为/page/index/index