Commit 543283bb by 无尘

fix: 取消调试

parent 26871ed3
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2020-07-16 16:37:05 * @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-18 16:02:16 * @LastEditTime: 2020-09-18 16:37:31
*/ */
import 'babel-polyfill'; import 'babel-polyfill';
import 'element-ui/lib/theme-chalk/index.css'; import 'element-ui/lib/theme-chalk/index.css';
...@@ -40,7 +40,7 @@ Vue.config.productionTip = false; ...@@ -40,7 +40,7 @@ Vue.config.productionTip = false;
Object.keys(filters).forEach(key => { Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key]); Vue.filter(key, filters[key]);
}); });
/* eslint-disable no-new */
permission({ permission({
whiteRoute: [ '/login', '/contactsList', '/apps', '/gic-error', '/403', '/404', '/500' ], whiteRoute: [ '/login', '/contactsList', '/apps', '/gic-error', '/403', '/404', '/500' ],
router, router,
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
* @Author: 无尘 * @Author: 无尘
* @Date: 2018-10-10 14:44:45 * @Date: 2018-10-10 14:44:45
* @LastEditors: 无尘 * @LastEditors: 无尘
* @LastEditTime: 2020-09-18 15:35:23 * @LastEditTime: 2020-09-18 16:32:35
--> -->
<template> <template>
<div class="enterprise-wrap"> <div class="enterprise-wrap">
...@@ -40,6 +40,7 @@ export default { ...@@ -40,6 +40,7 @@ export default {
}; };
}, },
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
localStorage.setItem('to', to);
next(vm => { next(vm => {
vm.getData(); vm.getData();
}); });
......
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