🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

if-auth

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

if-auth - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+1
-1
package.json
{
"name": "if-auth",
"version": "1.0.0",
"version": "1.0.1",
"scripts": {

@@ -5,0 +5,0 @@ "serve": "vue-cli-service serve",

@@ -97,3 +97,13 @@ import VAuthStore from './store'

}
// 设置基础路由
setBasicRoutes(routes){
this.config.basicRoutes = routes;
}
// 设置路由列表
setRoutesMap(routesMap) {
this.config.routesMap = routesMap
}
// 注册组件

@@ -121,2 +131,3 @@ registerModule() {

}

@@ -123,0 +134,0 @@ // 创建指令

@@ -21,3 +21,3 @@ <template>

id:'home',
operation: ['edit2', 'read', 'delete2'],
operation: ['edit', 'read', 'delete'],
});

@@ -24,0 +24,0 @@