mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-28 12:59:08 +08:00
20 lines
378 B
Vue
20 lines
378 B
Vue
<template>
|
|
<div class="app-container">
|
|
<switch-roles @change="handleRolesChange" />
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import SwitchRoles from './components/SwitchRoles'
|
|
|
|
export default {
|
|
name: 'PagePermission',
|
|
components: { SwitchRoles },
|
|
methods: {
|
|
handleRolesChange() {
|
|
this.$router.push({ path: '/permission/index?' + +new Date() })
|
|
}
|
|
}
|
|
}
|
|
</script>
|