Open cmdparkour opened 5 years ago
在自己定义好的resize方法中重置percent,this.$(children[0])代表vue-split-pane组件 resize() { if (this.$children[0].percent > 40) { this.$children[0].percent = 40 } }
resize() { if (this.$children[0].percent > 40) { this.$children[0].percent = 40 } }
师傅厉害,拿走了,谢谢 :)
在自己定义好的resize方法中重置percent,this.$(children[0])代表vue-split-pane组件
resize() { if (this.$children[0].percent > 40) { this.$children[0].percent = 40 } }