Agriculture-front-end/dist/assets/useEcharts.7cdde45a.js

2 lines
332 B
JavaScript
Raw Normal View History

2023-07-24 18:07:54 +08:00
import{$ as s,a0 as i,a1 as o}from"./index.db81687b.js";const a=(t,n)=>{n&&typeof n=="object"&&t.setOption(n);const e=()=>{t&&t.resize()};window.addEventListener("resize",e),s(()=>{window.addEventListener("resize",e)}),i(()=>{window.removeEventListener("resize",e)}),o(()=>{window.removeEventListener("resize",e)})};export{a as u};