← Back
Editing: index-BMGL2w_3.js
import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-Cf-ClxAZ.js?v=1775100524734";import"./index-B2eJVQGt.js?v=1775100524734";import{u as x}from"./tools-DBiDNGIq.js?v=1775100524734";import{h as b}from"./ftp-C5nngRbq.js?v=1775100524734";import{v as h}from"./index-CNQamjMl.js?v=1775100524734";import{k as w,r as m,e as k,o as C,$ as R,Z as g,a0 as r,a9 as i,_ as y,S as n,N as B}from"./vue-core-BlDeWrD6.js?v=1775100524734";import{a1 as F,_ as N}from"./naive-ui-DTxz-diP.js?v=1775100524734";import"./prismjs-BZPoR7_J.js?v=1775100524734";import"./useTableColumns-B7Bzhih4.js?v=1775100524734";import"./index-CcNhEBfo.js?v=1775100524734";import"./copy-DsjU7V5k.js?v=1775100524734";import"./index-BZsOpll0.js?v=1775100524734";import"./index.vue_vue_type_script_setup_true_lang-FewRrL0W.js?v=1775100524734";import"./index-VMNsgsQx.js?v=1775100524734";import"./check-CNel7fTH.js?v=1775100524734";const $={class:"px-20px pt-24px pb-8px"},P={class:"w-220px"},O=w({__name:"index",setup(S,{expose:_}){const a=x(),p=m(null),s=m(null),e=k({port:a.port}),f={port:h()};return C(()=>{var o;(o=s.value)==null||o.focus()}),_({onConfirm:async({hide:o})=>{var t;await((t=p.value)==null?void 0:t.validate()),await b(B(e)),a.getConfig(),o()}}),(o,t)=>{const l=N,c=F,u=v;return R(),g("div",$,[r(u,{ref_key:"formRef",ref:p,model:n(e),rules:f},{default:i(()=>[r(c,{label:o.$t("Ftp.Label.index_13"),path:"port"},{default:i(()=>[y("div",P,[r(l,{value:n(e).port,"onUpdate:value":t[0]||(t[0]=d=>n(e).port=d),ref_key:"portRef",ref:s,min:1,max:65535,"show-button":!1,"input-props":{name:"port"},placeholder:""},null,8,["value"])])]),_:1},8,["label"])]),_:1},8,["model"])])}}});export{O as default};
Save File
Cancel