UNPKG

@dfsj/echarts

Version:

专业的水文曲线组件或构造函数以及通用的echart二次封装图表

30 lines (26 loc) 672 B
/** * * @dfsj/echarts: 专业的水文曲线组件或构造函数以及通用的echart二次封装图表 * 版本: v3.7.0-alpha.5 * 作者:yangbo <1747837358@qq.com> * 日期:2025-11-21 13:30:34 * * */ import { computed, unref } from 'vue'; import '@vueuse/core'; import { screenEnum } from './breakpointEnum.js'; var globalScreenRef; var globalWidthRef; var globalRealWidthRef; function useBreakpoint() { return { screenRef: computed(function () { return unref(globalScreenRef); }), widthRef: globalWidthRef, screenEnum: screenEnum, realWidthRef: globalRealWidthRef }; } export { useBreakpoint };