daShangDao_newAdmin/dist/assets/ActionBar.646f8638.js
2026-06-15 17:26:14 +08:00

2 lines
607 B
JavaScript

import{R as s}from"./RefreshButton.7d989868.js";import{o as e,k as a,l as t,ap as o,H as r,an as i}from"./vendor.be06958f.js";const n={class:"action-bar"},c={class:"action-left"},f={class:"action-right"},h=Object.assign({name:"ActionBar"},{__name:"ActionBar",props:{showRefresh:{type:Boolean,default:!0}},emits:["refresh"],setup(h,{emit:l}){const d=l,p=()=>{d("refresh")};return(l,d)=>(e(),a("div",n,[t("div",c,[o(l.$slots,"left",{},void 0,!0)]),t("div",f,[o(l.$slots,"right",{},(()=>[h.showRefresh?(e(),r(s,{key:0,onRefresh:p})):i("",!0)]),!0)])]))}});h.__scopeId="data-v-01186ab0";var l=h;export{l as A};