src/views/systemSetting/baseSetting/role/createUser/index.vue
@@ -34,6 +34,7 @@ </div> </template> <script> import { getTypeList } from '@/utils/helper' export default { data() { const validateNickname = (rule, value, callback) => { @@ -113,15 +114,8 @@ this.refresh(); }, // 获取角色类型 getRoleTypeList(){ this.$axios({ method:'get', url:'sccg/dict/query_role_type', }) .then(res=>{ console.log(res); this.typeList = res.data; }) async getRoleTypeList(){ this.typeList = await getTypeList(1,'09'); } }, props: ['refresh']