增加账号角色管理

This commit is contained in:
aixianling
2021-12-18 11:39:14 +08:00
parent 6f0f5d40b0
commit af0903a979
4 changed files with 579 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<template>
<section class="AppAccountRole">
<add-account-role v-if="showDetail"/>
<account-role-list v-else/>
</section>
</template>
<script>
import AddAccountRole from "./addAccountRole";
import AccountRoleList from "./accountRoleList";
export default {
name: "AppAccountRole",
props: {
instance: Function
},
components: {AccountRoleList, AddAccountRole},
computed: {
showDetail() {
return this.$route.hash == "#add"
}
},
provide() {
let {instance} = this
return {instance}
}
}
</script>
<style lang="scss" scoped>
.AppAccountRole {
}
</style>