从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
<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>