zhaoxiaoqiang
2022-08-12 4eb54738ea2c0933973c77843c3fdd2760c6252e
src/router/index.js
@@ -1,8 +1,8 @@
/*
 * @Author: 小明丶
 * @Date: 2019-08-19 15:23:17
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-10-28 17:34:08
 * @LastEditors: zxq
 * @LastEditTime: 2022-08-09 15:12:13
 * @Description:
 */
import Vue from "vue";
@@ -30,10 +30,8 @@
    }else{
        // 需要登录的页面
        if(Store.state.sessionId){
            next()
        }else{
            next('/')
        }
    }