Open yvygyyth opened 1 week ago
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
匿名回调执行时间过长
我在写一个对拖拽元素进行自定义的demo,使用了用render方法挂载自定义vue模块的方式(类似全局消息提示),但是不知道为什么在这个项目使用会有卡顿,一开始是用每次拖拽创建,放下销毁的方式一次就会开始卡顿,后来换成先创建一个,只是修改prop传入数据,多次执行后还是存在卡顿,拖拽事件文件放在了hook文件夹下
⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.
Describe the bug
匿名回调执行时间过长
Reproduction
我在写一个对拖拽元素进行自定义的demo,使用了用render方法挂载自定义vue模块的方式(类似全局消息提示),但是不知道为什么在这个项目使用会有卡顿,一开始是用每次拖拽创建,放下销毁的方式一次就会开始卡顿,后来换成先创建一个,只是修改prop传入数据,多次执行后还是存在卡顿,拖拽事件文件放在了hook文件夹下
System Info