"use strict";(self.webpackChunk_alilc_lowcode_engine_docs=self.webpackChunk_alilc_lowcode_engine_docs||[]).push([[7241],{9278:(e,t,r)=>{r.d(t,{Zo:()=>s,kt:()=>f});var n=r(9301);function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},l=Object.keys(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var p=n.createContext({}),c=function(e){var t=n.useContext(p),r=t;return e&&(r="function"==typeof e?e(t):i(i({},t),e)),r},s=function(e){var t=c(e.components);return n.createElement(p.Provider,{value:t},e.children)},u="mdxType",d={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},m=n.forwardRef((function(e,t){var r=e.components,a=e.mdxType,l=e.originalType,p=e.parentName,s=o(e,["components","mdxType","originalType","parentName"]),u=c(r),m=a,f=u["".concat(p,".").concat(m)]||u[m]||d[m]||l;return r?n.createElement(f,i(i({ref:t},s),{},{components:r})):n.createElement(f,i({ref:t},s))}));function f(e,t){var r=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var l=r.length,i=new Array(l);i[0]=m;var o={};for(var p in t)hasOwnProperty.call(t,p)&&(o[p]=t[p]);o.originalType=e,o[u]="string"==typeof e?e:a,i[1]=o;for(var c=2;c<l;c++)i[c]=r[c];return n.createElement.apply(null,i)}return n.createElement.apply(null,r)}m.displayName="MDXCreateElement"},9478:(e,t,r)=>{r.r(t),r.d(t,{assets:()=>p,contentTitle:()=>i,default:()=>u,frontMatter:()=>l,metadata:()=>o,toc:()=>c});var n=r(8483),a=(r(9301),r(9278));const l={title:"SelectSetter"},i=void 0,o={unversionedId:"guide/appendix/setterDetails/select",id:"guide/appendix/setterDetails/select",title:"SelectSetter",description:"\u7b80\u4ecb",source:"@site/docs/guide/appendix/setterDetails/select.md",sourceDirName:"guide/appendix/setterDetails",slug:"/guide/appendix/setterDetails/select",permalink:"/site/docs/guide/appendix/setterDetails/select",draft:!1,editUrl:"https://github.com/alibaba/lowcode-engine/tree/develop/docs/docs/guide/appendix/setterDetails/select.md",tags:[],version:"current",frontMatter:{title:"SelectSetter"}},p={},c=[{value:"\u7b80\u4ecb",id:"\u7b80\u4ecb",level:2},{value:"\u5c55\u793a",id:"\u5c55\u793a",level:2},{value:"setter \u914d\u7f6e",id:"setter-\u914d\u7f6e",level:2},{value:"\u8fd4\u56de\u7c7b\u578b",id:"\u8fd4\u56de\u7c7b\u578b",level:2}],s={toc:c};function u(e){let{components:t,...r}=e;return(0,a.kt)("wrapper",(0,n.Z)({},s,r,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"\u7b80\u4ecb"},"\u7b80\u4ecb"),(0,a.kt)("p",null,"\u7528\u6765\u9009\u62e9\u7ec4\u4ef6\u3002\u5728\u9650\u5b9a\u7684\u53ef\u9009\u6027\u5185\u8fdb\u884c\u9009\u62e9\uff0c\u6838\u5fc3\u80fd\u529b\u662f\u9009\u62e9"),(0,a.kt)("h2",{id:"\u5c55\u793a"},"\u5c55\u793a"),(0,a.kt)("img",{src:"https://img.alicdn.com/imgextra/i4/O1CN013arqCy1f1JfwdTGQo_!!6000000003946-2-tps-574-602.png",width:"300"}),(0,a.kt)("h2",{id:"setter-\u914d\u7f6e"},"setter \u914d\u7f6e"),(0,a.kt)("table",null,(0,a.kt)("thead",{parentName:"table"},(0,a.kt)("tr",{parentName:"thead"},(0,a.kt)("th",{parentName:"tr",align:null},"\u5c5e\u6027\u540d"),(0,a.kt)("th",{parentName:"tr",align:null},"\u8bf4\u660e"))),(0,a.kt)("tbody",{parentName:"table"},(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:null},"mode"),(0,a.kt)("td",{parentName:"tr",align:null},"\u9009\u62e9\u5668\u6a21\u5f0f \u53ef\u9009\u503c: 'single', 'multiple', 'tag'")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:null},"defaultValue"),(0,a.kt)("td",{parentName:"tr",align:null},"\u9ed8\u8ba4\u503c")),(0,a.kt)("tr",{parentName:"tbody"},(0,a.kt)("td",{parentName:"tr",align:null},"options"),(0,a.kt)("td",{parentName:"tr",align:null},"\u4f20\u5165\u7684\u6570\u636e\u6e90\uff0c",(0,a.kt)("strong",{parentName:"td"},"\u53c2\u6570\u683c\u5f0f"),": ","[ {label/title: '\u6587\u5b57', value: 'text'}, ...]")))),(0,a.kt)("h2",{id:"\u8fd4\u56de\u7c7b\u578b"},"\u8fd4\u56de\u7c7b\u578b"),(0,a.kt)("p",null,"String | Number | Boolean\n\u4f1a\u8fd4\u56de options \u4e2d\u7684 value \u503c"))}u.isMDXComponent=!0}}]);