|
@@ -40,6 +40,7 @@ const whiteList = ['/login', '/register', '/forget', '/authredirect']
|
|
|
* 权限验证
|
|
* 权限验证
|
|
|
*/
|
|
*/
|
|
|
router.beforeEach(async(to, from, next) => {
|
|
router.beforeEach(async(to, from, next) => {
|
|
|
|
|
+ console.log(window.location)
|
|
|
const parmObj = {}
|
|
const parmObj = {}
|
|
|
if (window.location.search !== '') {
|
|
if (window.location.search !== '') {
|
|
|
const str = window.location.search.slice(1, window.location.search.length)
|
|
const str = window.location.search.slice(1, window.location.search.length)
|