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

页面初始化后,双击左侧与右侧间的拖拽线,会导致右边栏空白 #53

Open
liuc601 opened this issue Jul 24, 2020 · 1 comment

Comments

@liuc601
Copy link

liuc601 commented Jul 24, 2020

image
如图,页面初始化后,双击左侧与右侧间的拖拽线,会导致右边栏空白;
经过查找,是因为src\js\component\panel\panel.vue组件中,currentChange没有设置在data中。双击的时候,没有经过move事件,会导致currentChange获取到的值为undefined和null。
解决办法:在data中设置currentChange为0就可以了。
currentChange: 0,

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

No branches or pull requests

2 participants
@liuc601 and others