Agriculture-front-end/dist/assets/useEcharts.586cdb9c.js
2023-07-09 20:38:38 +08:00

2 lines
331 B
JavaScript

import{Z as s,$ as i,a0 as o}from"./index.955aa49e.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};