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

关于max-percent一个Hack式的解决方案 #17

Open
cmdparkour opened this issue Aug 7, 2019 · 1 comment
Open

关于max-percent一个Hack式的解决方案 #17

cmdparkour opened this issue Aug 7, 2019 · 1 comment

Comments

@cmdparkour
Copy link

在自己定义好的resize方法中重置percent,this.$(children[0])代表vue-split-pane组件
resize() { if (this.$children[0].percent > 40) { this.$children[0].percent = 40 } }

@Things-Z
Copy link

Things-Z commented Feb 9, 2020

师傅厉害,拿走了,谢谢 :)

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