← Back
Editing: index-legacy238.js
System.register(["./utils-lib-legacy.js?v=1765440387","./base-lib-legacy.js?v=1765440387","./index-legacy91.js?v=1765440387","./store-legacy.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./files-legacy.js?v=1765440387","./validator-legacy.js?v=1765440387","./index-legacy94.js?v=1765440387","./column-legacy.js?v=1765440387","./store-legacy2.js?v=1765440387"],function(e,l){"use strict";var n,o,u,a,t,r,i,d,c,s,f,m,p,g,b,_,h;return{setters:[function(e){n=e.j,o=e.ag,u=e.W,a=e.e},function(e){t=e.c,r=e.s,i=e.p,d=e.q,c=e.v,s=e.e,f=e.A,m=e.x,p=e.Q,g=e.aa,b=e.a8},function(e){_=e._},function(e){h=e.a4},null,null,null,null,null,null],execute:function(){var l={class:"flex flex-col p-16px lib-box"};e("default",a(t({__name:"index",setup:function(e){var a=h(),t=r(a),V=t.quickFormRef,j=t.quickForm,y=t.quickRules,v=t.disable,w=a.codeOptions,x=a.init,k=a.openFile,q=a.toggleCode,C=[{content:"若存在同名文件,解压后会覆盖原文件"}];return i(function(){x()}),function(e,a){var t=n,r=g,i=_,h=o,x=b,U=u;return d(),c("div",l,[s(x,{ref_key:"quickFormRef",ref:V,size:"small",model:m(j),rules:m(y),disabled:m(v),class:"relative w-full p-[1.5rem]","label-position":"right",onSubmit:a[5]||(a[5]=p(function(){},["prevent"]))},{default:f(function(){return[s(r,{prop:"fileName",label:"文件名"},{default:f(function(){return[s(t,{modelValue:m(j).fileName,"onUpdate:modelValue":a[0]||(a[0]=function(e){return m(j).fileName=e}),disabled:!0,width:"26rem"},null,8,["modelValue"])]}),_:1}),s(r,{prop:"path",label:"解压到"},{default:f(function(){return[s(i,{modelValue:m(j).path,"onUpdate:modelValue":a[1]||(a[1]=function(e){return m(j).path=e}),width:"26rem",icon:"el-folder-opened",onIconClick:m(k),placeholder:"请选择目录"},null,8,["modelValue","onIconClick"])]}),_:1}),s(r,{prop:"password",label:"解压密码"},{default:f(function(){return[s(t,{modelValue:m(j).password,"onUpdate:modelValue":a[2]||(a[2]=function(e){return m(j).password=e}),width:"26rem",placeholder:"无密码则留空"},null,8,["modelValue"])]}),_:1}),s(r,{label:"编码"},{default:f(function(){return[s(h,{modelValue:m(j).coding,"onUpdate:modelValue":a[3]||(a[3]=function(e){return m(j).coding=e}),options:m(w),class:"w-[26rem]",onChange:m(q)},null,8,["modelValue","options","onChange"])]}),_:1}),s(r,{prop:"auth",label:"解压目录权限"},{default:f(function(){return[s(t,{modelValue:m(j).auth,"onUpdate:modelValue":a[4]||(a[4]=function(e){return m(j).auth=e}),width:"26rem"},null,8,["modelValue"])]}),_:1})]}),_:1},8,["model","rules","disabled"]),s(U,{options:C,class:"mt-[1.5rem] ml-[4rem]"})])}}}),[["__scopeId","data-v-88f22108"]]))}}});
Save File
Cancel