摘要: Authority.vue <template> <slot v-if="roles.includes(auth)"></slot> </template> <script setup> import { useRoles } from '../store' //接收传递的权限字符串,admin,u 阅读全文
posted @ 2024-05-16 01:52 猝死的路上 阅读(12) 评论(0) 推荐(0) 编辑