← Back
Editing: index227.js
import{c as e,s as a,a5 as l,q as o,M as s,A as t,e as r,x as m,B as d,H as p,I as i,Q as n,ai as u,ag as c,aa as f,a8 as _}from"./base-lib.js?v=1765440387";import{_ as b}from"./index91.js?v=1765440387";import{aO as j}from"./store.js?v=1765440387";import"./__commonjsHelpers__.js?v=1765440387";import"./utils-lib.js?v=1765440387";import"./files.js?v=1765440387";import"./validator.js?v=1765440387";import"./index94.js?v=1765440387";import"./column.js?v=1765440387";import"./store2.js?v=1765440387";const h=e({__name:"index",setup(e){const h=j(),{rowData:y,isCmdLoading:V,cmdForm:g,cmdFormRef:x,cmdRules:C}=a(h),{openFile:F,clearSpace:k,$resetCmdForm:v}=h;return l(()=>{v()}),(e,a)=>{const l=u,j=c,h=f,y=b,v=_;return o(),s(v,{ref_key:"cmdFormRef",ref:x,model:m(g),rules:m(C),class:"p-2rem",disabled:m(V),"label-position":"right",onSubmit:a[3]||(a[3]=n(()=>{},["prevent"]))},{default:t(()=>[r(h,{style:{"margin-bottom":"1.5rem"},label:"恢复方法"},{default:t(()=>[r(j,{modelValue:m(g).type,"onUpdate:modelValue":a[0]||(a[0]=e=>m(g).type=e)},{default:t(()=>[r(l,{label:"before"},{default:t(()=>[...a[4]||(a[4]=[d("原文件地址",-1)])]),_:1}),r(l,{label:"path"},{default:t(()=>[...a[5]||(a[5]=[d("其他目录",-1)])]),_:1})]),_:1},8,["modelValue"])]),_:1}),p(r(h,{prop:"path",label:"恢复到"},{default:t(()=>[p(r(y,{modelValue:m(g).path,"onUpdate:modelValue":a[1]||(a[1]=e=>m(g).path=e),class:"w-[24rem]",icon:"el-folder-opened",onIconClick:m(F),onChangePassive:a[2]||(a[2]=e=>m(k)("path")),placeholder:"被保护的文件或目录完整路径"},null,8,["modelValue","onIconClick"]),[[i,"path"==m(g).type]])]),_:1},512),[[i,"path"===m(g).type]])]),_:1},8,["model","rules","disabled"])}}});export{h as default};
Save File
Cancel