問題描述比如首頁在http://xxx/index.html#/,點(diǎn)擊一個(gè)鏈接轉(zhuǎn)到application的頁面,但是瀏覽器的url沒有變化;如何做到url也變化到相應(yīng)路由http://xxx/index.html#/applic...?像vue的路由跳轉(zhuǎn)那樣,url會(huì)變化?相關(guān)代碼routes=[{path:'/',url:'./index.html',},//PageLoaders&Router{path:'/table/',componentUrl:'./pages/table.html',},{path:'/application/',componentUrl:'./pages/application.html',},];應(yīng)用表格還請(qǐng)知道的大神告知一下,感謝。
framework7 根據(jù)路由頁面跳轉(zhuǎn)時(shí),如何做到 url 也變化到相應(yīng)路由 ?
Qyouu
2019-05-09 09:33:11