RoleUsersStores.CFUlEM9m.js 333 B

1
  1. import{d as e}from"./vue.YrNK8sx4.js";import{g as r}from"./api.BUS6uD_V.js";import{a3 as o}from"./index.DfEx8z43.js";const _=e("RoleUsersStores",{state:()=>({all_users:[],right_users:[]}),actions:{get_all_users(){r().then(s=>{this.$state.all_users=s})},set_right_users(s){this.$state.right_users=o.map(s,t=>t.id)}}});export{_ as R};