Commit c5ad9373 by 无尘

fix: 修改默认有权限路由

parent 4cb0539d
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-07-16 16:37:05
* @LastEditors: 无尘
* @LastEditTime: 2020-09-18 15:04:54
* @LastEditTime: 2020-09-18 16:02:16
*/
import 'babel-polyfill';
import 'element-ui/lib/theme-chalk/index.css';
......@@ -40,9 +40,9 @@ Vue.config.productionTip = false;
Object.keys(filters).forEach(key => {
Vue.filter(key, filters[key]);
});
const localRoute = [ '/data-dimension', '/crowd-scene', '/customer-data-set', '/clerk-tag', '/customer-assign' ];
permission({
whiteRoute: [ '/login', '/contactsList', '/apps', '/gic-error', '/403', '/404', '/500', ...localRoute ],
whiteRoute: [ '/login', '/contactsList', '/apps', '/gic-error', '/403', '/404', '/500' ],
router,
routes,
createApp() {
......
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