mirror of
https://github.com/zuiidea/antd-admin
synced 2026-11-23 14:03:48 +00:00
query-string
This commit is contained in:
+2
-1
@@ -7,6 +7,7 @@ import config from 'config'
|
||||
import { EnumRoleType } from 'enums'
|
||||
import { query, logout } from 'services/app'
|
||||
import * as menusService from 'services/menus'
|
||||
import queryString from 'query-string'
|
||||
|
||||
const { prefix } = config
|
||||
|
||||
@@ -41,7 +42,7 @@ export default {
|
||||
type: 'updateState',
|
||||
payload: {
|
||||
locationPathname: location.pathname,
|
||||
locationQuery: location.query,
|
||||
locationQuery: queryString.parse(location.search),
|
||||
},
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user