he wei
2024-07-08 10ea1515d5a3441c8e05a7c5f79dadb1be569f89
src/permission.js
@@ -4,7 +4,9 @@
import 'nprogress/nprogress.css' // progress bar style
NProgress.configure({ showSpinner: false }) // NProgress Configuration
const whiteList = ['/login'] // no redirect whitelist
// /frame-jy 为山西晋源的iframe 统计页面
const whiteList = ['/login', '/frame-jy'] // no redirect whitelist
router.beforeEach(async (to, from, next) => {
  // determine whether the user has logged in
  const username = sessionStorage.getItem('username')