"use strict";(self["webpackChunkmi_wifi_agent"]=self["webpackChunkmi_wifi_agent"]||[]).push([[9779],{3806:function(e,l,a){a.r(l),a.d(l,{default:function(){return c}});var t=a(641),u=a(2644);const d={style:{float:"left"}},o={style:{float:"right",color:"#999","font-size":"13px"}};function n(e,l,a,n,r,s){const i=(0,t.g2)("el-alert"),c=(0,t.g2)("sc-select"),b=(0,t.g2)("el-card"),f=(0,t.g2)("el-col"),m=(0,t.g2)("el-row"),v=(0,t.g2)("el-main");return(0,t.uX)(),(0,t.Wv)(v,null,{default:(0,t.k6)((()=>[(0,t.bF)(i,{title:"封装el-select支持异步获取数据,以及根据字典名获取数据,继承el-select全部的属性和事件",type:"success",style:{"margin-bottom":"20px"}}),(0,t.bF)(m,{gutter:15},{default:(0,t.k6)((()=>[(0,t.bF)(f,{lg:12},{default:(0,t.k6)((()=>[(0,t.bF)(b,{shadow:"never",header:"异步单选"},{default:(0,t.k6)((()=>[(0,t.bF)(c,{modelValue:r.value,"onUpdate:modelValue":l[0]||(l[0]=e=>r.value=e),apiObj:e.$API.system.dic.get,clearable:"",filterable:"",style:{width:"100%"}},null,8,["modelValue","apiObj"])])),_:1})])),_:1}),(0,t.bF)(f,{lg:12},{default:(0,t.k6)((()=>[(0,t.bF)(b,{shadow:"never",header:"异步多选"},{default:(0,t.k6)((()=>[(0,t.bF)(c,{modelValue:r.value2,"onUpdate:modelValue":l[1]||(l[1]=e=>r.value2=e),apiObj:e.$API.system.dic.get,clearable:"",filterable:"",multiple:"",style:{width:"100%"}},null,8,["modelValue","apiObj"])])),_:1})])),_:1}),(0,t.bF)(f,{lg:12},{default:(0,t.k6)((()=>[(0,t.bF)(b,{shadow:"never",header:"字典选择器"},{default:(0,t.k6)((()=>[(0,t.bF)(c,{modelValue:r.value3,"onUpdate:modelValue":l[2]||(l[2]=e=>r.value3=e),dic:"notice",clearable:"",filterable:"",style:{width:"100%"}},null,8,["modelValue"])])),_:1})])),_:1}),(0,t.bF)(f,{lg:12},{default:(0,t.k6)((()=>[(0,t.bF)(b,{shadow:"never",header:"自定义模板"},{default:(0,t.k6)((()=>[(0,t.bF)(c,{modelValue:r.value4,"onUpdate:modelValue":l[3]||(l[3]=e=>r.value4=e),dic:"notice",clearable:"",filterable:"",placeholder:"自定义placeholder",style:{width:"100%"}},{option:(0,t.k6)((({data:e})=>[(0,t.Lk)("span",d,(0,u.v_)(e.label),1),(0,t.Lk)("span",o,(0,u.v_)(e.value),1)])),_:1},8,["modelValue"])])),_:1})])),_:1})])),_:1})])),_:1})}var r={name:"scselect",data(){return{value:"3",value2:["1","3"],value3:"",value4:""}},mounted(){},methods:{}},s=a(6262);const i=(0,s.A)(r,[["render",n]]);var c=i}}]);