1 |
- import{d as t,e as c,f as a,h as n,j as l,k as u}from"./index-51b84435.js";const h="_TheSearch_jcd5r_1",d={TheSearch:h},p=""+new URL("icon_search-8a6ade17.svg",import.meta.url).href,m=t({name:"TheSearch",props:{round:{type:Boolean,default:!1}},emits:["search"],setup(r,{emit:s}){const e=c({value:""});return()=>a(n,{class:d.TheSearch,round:r.round,placeholder:"请输入搜索关键词",modelValue:e.value,"onUpdate:modelValue":o=>e.value=o},{prefix:()=>a("img",{src:p},null),suffix:()=>a(l,{size:"small",round:!0,type:"primary",onClick:()=>s("search",e.value)},{default:()=>[u("搜索")]})})}});export{m as T};
|