1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-28 12:59:08 +08:00
2019-03-17 17:40:51 +08:00

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>