Merge branch 'dev' into master-fetch-dev

This commit is contained in:
奔跑的面条
2023-03-16 20:02:18 +08:00
97 changed files with 1274 additions and 87 deletions
+2 -1
View File
@@ -169,7 +169,8 @@ export const fetchRouteParams = () => {
*/
export const fetchRouteParamsLocation = () => {
try {
return document.location.hash.split('/').pop() || ''
// 防止添加query参数的时候,解析ID异常
return document.location.hash.split('?')[0].split('/').pop() || ''
} catch (error) {
window['$message'].warning('查询路由信息失败,请联系管理员!')
return ''