mirror of
https://github.com/mfish-qf/mfish-nocode-view.git
synced 2026-11-01 05:06:38 +08:00
1 line
590 B
JavaScript
1 line
590 B
JavaScript
import{V as e,rt as t}from"./common.js";import{createElementBlock as n,defineComponent as r,mergeProps as i,onMounted as a,openBlock as o,toHandlers as s,unref as c,useTemplateRef as l}from"vue";var u=r({name:`MfBar`,__name:`index`,props:{chart:{type:Object,required:!0},chartContain:{type:Object,required:!0}},setup(r){let u=r,d=l(`mfBarRef`),{commonEvents:f,emitEvent:p}=t(u.chart,void 0,[`clickEcharts`]);return a(()=>{e(d.value,u.chart,u.chartContain,p)}),(e,t)=>(o(),n(`div`,i({ref_key:`mfBarRef`,ref:d,style:{width:`100%`,height:`100%`}},s(c(f),!0)),null,16))}});export{u as default}; |