@@ -0,0 +1,18 @@
+#### auth
+
+权限控制组件
+###### 使用方法:
+``` html
+<auth auths="/main" :router="['main']" mulit>
+ Node
+</auth>
+<auth :auths="['/main']" :router="['main']" mulit>
+```
+权限使用的是`localStorage`
@@ -9,8 +9,8 @@
</p>
<div class="btnList">
-
- <auth>
+ <auth :auths="['/main']">
<el-button type="primary" @click="codeStatus = true">预报名链接</el-button>
</auth>
<auth>