← Back
Editing: index-legacy295.js
!function(){function t(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var r,e,o="function"==typeof Symbol?Symbol:{},u=o.iterator||"@@iterator",i=o.toStringTag||"@@toStringTag";function c(t,o,u,i){var c=o&&o.prototype instanceof f?o:f,l=Object.create(c.prototype);return n(l,"_invoke",function(t,n,o){var u,i,c,f=0,l=o||[],s=!1,p={p:0,n:0,v:r,a:y,f:y.bind(r,4),d:function(t,n){return u=t,i=0,c=r,p.n=n,a}};function y(t,n){for(i=t,c=n,e=0;!s&&f&&!o&&e<l.length;e++){var o,u=l[e],y=p.p,v=u[2];t>3?(o=v===n)&&(c=u[(i=u[4])?5:(i=3,3)],u[4]=u[5]=r):u[0]<=y&&((o=t<2&&y<u[1])?(i=0,p.v=n,p.n=u[1]):y<v&&(o=t<3||u[0]>n||n>v)&&(u[4]=t,u[5]=n,p.n=v,i=0))}if(o||t>1)return a;throw s=!0,n}return function(o,l,v){if(f>1)throw TypeError("Generator is already running");for(s&&1===l&&y(l,v),i=l,c=v;(e=i<2?r:c)||!s;){u||(i?i<3?(i>1&&(p.n=-1),y(i,c)):p.n=c:p.v=c);try{if(f=2,u){if(i||(o="next"),e=u[o]){if(!(e=e.call(u,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,i<2&&(i=0)}else 1===i&&(e=u.return)&&e.call(u),i<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),i=1);u=r}else if((e=(s=p.n<0)?c:t.call(n,p))!==a)break}catch(e){u=r,i=1,c=e}finally{f=1}}return{value:e,done:s}}}(t,u,i),!0),l}var a={};function f(){}function l(){}function s(){}e=Object.getPrototypeOf;var p=[][u]?e(e([][u]())):(n(e={},u,function(){return this}),e),y=s.prototype=f.prototype=Object.create(p);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,s):(t.__proto__=s,n(t,i,"GeneratorFunction")),t.prototype=Object.create(y),t}return l.prototype=s,n(y,"constructor",s),n(s,"constructor",l),l.displayName="GeneratorFunction",n(s,i,"GeneratorFunction"),n(y),n(y,i,"Generator"),n(y,u,function(){return this}),n(y,"toString",function(){return"[object Generator]"}),(t=function(){return{w:c,m:v}})()}function n(t,r,e,o){var u=Object.defineProperty;try{u({},"",{})}catch(t){u=0}n=function(t,r,e,o){function i(r,e){n(t,r,function(t){return this._invoke(r,e,t)})}r?u?u(t,r,{value:e,enumerable:!o,configurable:!o,writable:!o}):t[r]=e:(i("next",0),i("throw",1),i("return",2))},n(t,r,e,o)}function r(t,n,r,e,o,u,i){try{var c=t[u](i),a=c.value}catch(t){return void r(t)}c.done?n(a):Promise.resolve(a).then(e,o)}System.register(["./utils-lib-legacy.js?v=1765440387","./base-lib-legacy.js?v=1765440387","./form-item-legacy.js?v=1765440387","./useStore-legacy7.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./index-legacy94.js?v=1765440387","./validator-legacy.js?v=1765440387","./column-legacy.js?v=1765440387"],function(n,e){"use strict";var o,u,i,c,a,f,l,s,p,y;return{setters:[function(t){o=t.G,u=t.aa},function(t){i=t.c,c=t.g,a=t.q,f=t.M,l=t.x},function(t){s=t.b},function(t){p=t.u,y=t.w},null,null,null,null],execute:function(){n("default",i({__name:"index",setup:function(n,e){var i,v,b=e.expose,m=p().ftpPort,d=o({data:function(){return{port:m.value}},options:function(){return c(function(){return[s("默认端口","port",{attrs:{class:"!w-[20rem]",placeholder:"请输入FTP默认端口",clearable:!0,type:"number"},rules:[u()]})]})},submit:(i=t().m(function n(r,e){return t().w(function(t){for(;;)switch(t.n){case 0:return t.n=1,e();case 1:return t.n=2,y(r.value);case 2:return t.a(2,t.v)}},n)}),v=function(){var t=this,n=arguments;return new Promise(function(e,o){var u=i.apply(t,n);function c(t){r(u,e,o,c,a,"next",t)}function a(t){r(u,e,o,c,a,"throw",t)}c(void 0)})},function(t,n){return v.apply(this,arguments)})}),h=d.BtForm;return b({onConfirm:d.submit}),function(t,n){return a(),f(l(h),{"label-width":"8rem",class:"bt-custom-form"})}}}))}}})}();
Save File
Cancel