be9438cd by renchao@pashanhoo.com

style:调试

1 parent 97d8d82f
1 /* 1 /*
2 * @Description: 项目权限 2 * @Description: 项目权限
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-12 17:22:02 4 * @LastEditTime: 2023-06-13 10:26:13
5 */ 5 */
6 import Vue from 'vue' 6 import Vue from 'vue'
7 import axios from 'axios' 7 import axios from 'axios'
...@@ -43,7 +43,7 @@ router.beforeEach(async (to, from, next) => { ...@@ -43,7 +43,7 @@ router.beforeEach(async (to, from, next) => {
43 'service': locationUrl 43 'service': locationUrl
44 } 44 }
45 }).then(async (res) => { 45 }).then(async (res) => {
46 console.log(res, 'resresres'); 46 debugger
47 if (process.env.NODE_ENV === 'development') { 47 if (process.env.NODE_ENV === 'development') {
48 localStorage.setItem('token', res.data.content.accessToken) 48 localStorage.setItem('token', res.data.content.accessToken)
49 } else { 49 } else {
......