Browse Source

桌面根据角色展现

master
陈薪名 12 months ago
parent
commit
c237dbfdf9
  1. 8
      src/views/Home/Index.vue

8
src/views/Home/Index.vue

@ -1,9 +1,9 @@
<template>
<div>
<supplierIndex/>
<warehouseKeeper v-hasRole="['role2']"/>
<productWarehouseKeeper v-hasRole="['role3']"/>
<productionManager v-hasRole="['role4']"/>
<supplierIndex v-hasRole="['super_admin','supplier']"/>
<warehouseKeeper v-hasRole="['super_admin']"/>
<productWarehouseKeeper v-hasRole="['super_admin']"/>
<productionManager v-hasRole="['super_admin']"/>
</div>
</template>
<script lang="ts" setup>

Loading…
Cancel
Save