Commit ff7e6cb4 authored by 杨梦雪's avatar 杨梦雪

个人信息新增

parent d6aad0e3
This diff is collapsed.
......@@ -165,7 +165,7 @@ function checkCam(code, cb) {
}
router.beforeEach((to, from, next) => {
console.log(to, 'to')
// console.log(to, 'to')
// console.log(from, 'from')
let
......@@ -176,7 +176,7 @@ router.beforeEach((to, from, next) => {
document.title = to.meta.title;
if (to.path == toLogin || to.path == toRegister || to.path == toReset) {
code = to.params.code ? to.params.code : to.query.code;
console.log(code)
// console.log(code)
checkCam(code, (res) => {
if (res) {
let token = window.localStorage.getItem("index-token" + code);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment