- 博客(1)
- 收藏
- 关注
原创 vue中自定义缩放,改变容器宽度
vue中使用了源代码编辑器-codemirror,但是该组件无法自由缩放改变容器宽度,因此自己写了一段,主要代码如下: onChaneWidth: function () { let resize = this.$refs.resize let left = this.$refs.leftConcent let right = this.$refs.rightConcent resize.onmousedown = function (e) {
2020-06-08 11:31:58 2369
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人