← Back
Editing: index230.js
import{c as e,s as l,a5 as a,q as o,v as s,e as t,A as i,x as r,y as m,Q as p,aa as d,a8 as n}from"./base-lib.js?v=1765440387";import{_ as u}from"./index91.js?v=1765440387";import{j as c}from"./utils-lib.js?v=1765440387";import{Z as f}from"./store.js?v=1765440387";import"./__commonjsHelpers__.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 b={class:"flex flex-col p-2rem lib-box"},_=e({__name:"index",props:{compData:{default:()=>({})}},setup(e){const _=f(),{quickFormRef:j,quickForm:x,quickRules:h}=l(_),{openFile:k,$reset:V}=_;return a(()=>{V()}),(e,l)=>{const a=c,f=d,_=u,V=n;return o(),s("div",b,[t(V,{ref_key:"quickFormRef",ref:j,size:"small",model:r(x),rules:r(h),disabled:r(x).disable,class:"relative w-full","label-position":"right",onSubmit:l[2]||(l[2]=p(()=>{},["prevent"]))},{default:i(()=>[t(f,{prop:"filename",label:"名称"},{default:i(()=>[t(a,{width:"30rem",modelValue:r(x).filename,"onUpdate:modelValue":l[0]||(l[0]=e=>r(x).filename=e),placeholder:"请输入软链接名称"},null,8,["modelValue"])]),_:1}),t(f,{prop:"path",label:"链接到"},{default:i(()=>[t(_,{modelValue:r(x).path,"onUpdate:modelValue":l[1]||(l[1]=e=>r(x).path=e),width:"30rem",icon:"icon-file_mode",onIconClick:r(k),placeholder:"请选择需要创建的软链的文件夹或文件"},null,8,["modelValue","onIconClick"])]),_:1}),t(f,{label:" "},{default:i(()=>[...l[3]||(l[3]=[m("span",{class:"text-[#777] text-[1.2rem]"},"* 提示:请选择需要创建的软链的文件夹或文件",-1)])]),_:1})]),_:1},8,["model","rules","disabled"])])}}});export{_ as default};
Save File
Cancel