明树Git Lab

Commit f989b20b authored by chenron's avatar chenron

修改

parent 29aca50e
Pipeline #104179 passed with stage
in 13 seconds
...@@ -76,13 +76,13 @@ const handleResize = () => { ...@@ -76,13 +76,13 @@ const handleResize = () => {
onMounted(() => { onMounted(() => {
initChart(); initChart();
window.addEventListener("resize", handleResize); // window.addEventListener("resize", handleResize);
}); });
onUnmounted(() => { // onUnmounted(() => {
window.removeEventListener("resize", handleResize); // window.removeEventListener("resize", handleResize);
myChart?.dispose(); // myChart?.dispose();
}); // });
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment