mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-24 19:32:53 +08:00
dev路由404问题
This commit is contained in:
@@ -45,14 +45,11 @@ export default {
|
||||
if (this.level === '3') return
|
||||
if (this.level === '1') window.localStorage.setItem('nbsSecondManageCode', code)
|
||||
else if (this.level === '2') window.localStorage.setItem('nbsThirdManageCode', code)
|
||||
// 生产环境路径中不包含井号, 开发环境包含井号无需再次拼接
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
this.url = '/#' + this.url
|
||||
}
|
||||
let link = location.origin + '/#' + this.url
|
||||
this.$jump({
|
||||
flag: 'h5',
|
||||
extra: {
|
||||
url: `${location.origin + this.url}?name=${encodeURIComponent(name)}`
|
||||
url: `${link}?name=${encodeURIComponent(name)}`
|
||||
// forbidSwipeBack: '1',
|
||||
// needRefresh: '1'
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user