2 lines
786 B
JavaScript
2 lines
786 B
JavaScript
import{T as u,A as c}from"./AppDictionaryCache-emH9lV7i.js";import{d as m,b as r,o as d,j as f,$ as h}from"./index-D2_T1wn8.js";import"./SysDictionaryService-CoxT7Yam.js";import"./T_Game_TypesService-O6BewZrT.js";import"./T_Game_TagsService-BMaG5ygF.js";const A=m({__name:"h-game-select",props:{modelValue:{},ShowAll:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:n}){const t=r([]),s=l,p=n;u.findList().then(e=>{}),c.appDictionaryLanguageCache.getDataListSelect().then(e=>{var o,a;(o=t.value)==null||o.push(...e),s.ShowAll&&((a=t.value)==null||a.unshift({value:"",label:"全部"}))});function i(e){p("update:modelValue",e)}return(e,o)=>{const a=h;return d(),f(a,{options:t.value,value:e.modelValue,onChange:i},null,8,["options","value"])}}});export{A as default};
|