RoleUsersStores.CtfiGAG5.js 332 B

1
  1. import{d as e}from"./vue.BC7RnHNA.js";import{h as r}from"./api.Bs3pSP5b.js";import{X as o}from"./index.Cjv_q-Ze.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};