← Back
Editing: index242.js
import{_ as a}from"./index103.js?v=VERSION_NUMBER";import{_ as e}from"./index112.js?v=VERSION_NUMBER";import{J as t,l as o}from"./utils-lib.js?v=VERSION_NUMBER";import{c as l,s as r,p as s,a4 as i,G as n,q as m,v as p,e as d,A as u,x as f,H as c}from"./base-lib.js?v=VERSION_NUMBER";import{a0 as h}from"./store.js?v=VERSION_NUMBER";import"./__commonjsHelpers__.js?v=VERSION_NUMBER";import"./files.js?v=VERSION_NUMBER";import"./validator.js?v=VERSION_NUMBER";import"./index104.js?v=VERSION_NUMBER";import"./column.js?v=VERSION_NUMBER";import"./store2.js?v=VERSION_NUMBER";import"./index101.js?v=VERSION_NUMBER";const j={class:"flex flex-col p-2rem lib-box"},g=l({__name:"index",setup(l){const g=h(),{isLoading:x,tableData:b,shareTableData:_,tableColumn:v}=r(g),{getShareData:S,searchSubmit:w,$reset:C}=g;return s((()=>{S()})),i(C),(l,r)=>{const s=t,i=o,h=e,g=a,C=n("bt-loading");return m(),p("div",j,[d(g,null,{"header-left":u((()=>r[3]||(r[3]=[]))),"header-right":u((()=>[d(s,{modelValue:f(_).file_name,"onUpdate:modelValue":r[0]||(r[0]=a=>f(_).file_name=a),onSearch:f(w),placeholder:"请输入分享名称"},null,8,["modelValue","onSearch"])])),content:u((()=>[c(d(i,{ref:"favTable","max-height":"40rem",column:f(v),data:f(b),description:"分享列表为空"},null,8,["column","data"]),[[C,f(x)],[C,"正在加载分享列表,请稍后...","title"]])])),"footer-left":u((()=>r[4]||(r[4]=[]))),"footer-right":u((()=>[d(h,{total:f(_).total,page:f(_).p,"onUpdate:page":r[1]||(r[1]=a=>f(_).p=a),row:f(_).limit,"onUpdate:row":r[2]||(r[2]=a=>f(_).limit=a),layout:"prev, pager, next, total",onChange:f(S)},null,8,["total","page","row","onChange"])])),popup:u((()=>r[5]||(r[5]=[]))),_:1})])}}});export{g as default};
Save File
Cancel