Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vue] 说说你使用vue过程中遇到的问题(坑)有哪些,你是怎么解决的? #274

Open
haizhilin2013 opened this issue Jun 16, 2019 · 5 comments
Labels
vue vue

Comments

@haizhilin2013
Copy link
Collaborator

[vue] 说说你使用vue过程中遇到的问题(坑)有哪些,你是怎么解决的?

@haizhilin2013 haizhilin2013 added the vue vue label Jun 16, 2019
@wenyejie
Copy link

从详情页返回列表页时, 要保存所有状态, 比如: 滚动条位置, 数据, 下拉数据等
当时想用keep-alive, 后来没用, 直接存储一些关键数据, 返回到router时重新加载了数据

@xinggedaxia
Copy link

数据量大的表格很卡顿,Object.freeze()解决

@qq-radio
Copy link

qq-radio commented Jan 3, 2021

忘记在beforeDestroy钩子里销毁定时器、绑定事件,后端响应慢导致多按了按钮表单提交n次。。。。

@Lzp0225
Copy link

Lzp0225 commented Jan 18, 2021

填写表单有些需要v-if来判断显示某种输入框时会有dom缓存,需要加唯一的key来标识

@70hnXX
Copy link

70hnXX commented Oct 28, 2021

数据量大的表格很卡顿,Object.freeze()解决

Object.freeze()怎么解决?我现在遇到一个问题,js执行很快,但是页面渲染太慢了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vue vue
Projects
None yet
Development

No branches or pull requests

6 participants