Agriculture-front-end/dist/assets/useEcharts.dbdb546a.js

2 lines
331 B
JavaScript
Raw Normal View History

2023-07-04 10:08:33 +08:00
import{Z as s,$ as i,a0 as o}from"./index.ae0c781d.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};