1import{c as h}from"./gen-rq_DhgNt.js";import{r as p,d as s,o as y,m as C,h as a,e as f,f as r,p as i,x as m,O as c,v as w}from"./index-uGWb9Yh4.js";const T=f("span",null,"å建表è¯å¥(æ¯æå¤ä¸ªå»ºè¡¨è¯å¥)ï¼",-1),B={class:"dialog-footer"},U={__name:"createTable",emits:["ok"],setup(N,{expose:_,emit:v}){const e=p(!1),t=p(""),{proxy:u}=w(),x=v;function V(){e.value=!0}function b(){if(t.value===""){u.$modal.msgError("请è¾å
¥å»ºè¡¨è¯å¥");return}h({sql:t.value}).then(n=>{u.$modal.msgSuccess(n.msg),n.code===200&&(e.value=!1,x("ok"))})}return _({show:V}),(n,o)=>{const g=s("el-input"),d=s("el-button"),k=s("el-dialog");return y(),C(k,{title:"å建表",modelValue:m(e),"onUpdate:modelValue":o[2]||(o[2]=l=>c(e)?e.value=l:null),width:"800px",top:"5vh","append-to-body":""},{footer:a(()=>[f("div",B,[r(d,{type:"primary",onClick:b},{default:a(()=>[i("ç¡® å®")]),_:1}),r(d,{onClick:o[1]||(o[1]=l=>e.value=!1)},{default:a(()=>[i("å æ¶")]),_:1})])]),default:a(()=>[T,r(g,{type:"textarea",rows:10,placeholder:"请è¾å
¥ææ¬",modelValue:m(t),"onUpdate:modelValue":o[0]||(o[0]=l=>c(t)?t.value=l:null)},null,8,["modelValue"])]),_:1},8,["modelValue"])}}};export{U as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.