zchengfeng

Results 11 comments of zchengfeng

希望Vue团队能早日支持,现在使用vue3.2 defineProps()为Props定义单个单个类型还可以,若涉及到联合或交叉等复杂类型 defineProps就会编译错误, 这对于类型扩展是一件非常糟糕的事情

I also found this problem. It's ridiculous to render three times, but I only want to render once. I don't have a good solution. In order to avoid additional rendering...

@xiaoluoHe 您好,我尝试设置为reAnimate:false,可以避免缩放频繁触发,但没有初始渲染动画了

我加了没用 大佬能麻烦看一下吗? 另外 /v3/api-docs 返回的数据 Apifox 也是能导入的

![image](https://github.com/user-attachments/assets/76f2f826-e276-4275-8e4a-7e8b3fbcdf8b) 改变尺寸 图表的自适应 都是长任务

![image](https://github.com/user-attachments/assets/663bcd7a-48ac-4a25-9b54-90a643c5e29e) 这是没有使用图表的 , 这个页面是使用 两个面积图,一个折线图 一个扇形图 一个词图,切换有明显卡顿 ,其中一个代码如下: ``` import { onMounted, ref } from 'vue'; import VChart, { type ISpec } from '@visactor/vchart'; const chartRef = ref(); const vChart...

![image](https://github.com/user-attachments/assets/612f72e8-41fb-4fe7-a563-287693c0e644) 这是用的 anbt g2plot 的图表 改变尺寸 比较流畅 基本没有长任务

@hex0xf Although your approach can achieve functionality, it lacks cache eviction strategies (which can easily lead to memory leaks) and some advanced features.