![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue+element-ui
liuzhenghe30265
这个作者很懒,什么都没留下…
展开
-
关于弹窗拖拽问题
Element DialogElement Dialog 对话框,自身不带拖拽功能,需要添加。dialogDrag.js/* eslint-disable */import Vue from 'vue'// v-dialogDrag: 弹窗拖拽Vue.directive('dialogDrag', { bind(el, binding, vnode, oldVnode) { const dialogHeaderEl = el.querySelector('.el-dialog__h原创 2020-06-11 17:57:40 · 343 阅读 · 0 评论 -
el-tree 在 v-for 中获取不到 getCheckedNodes
element-ui 中 el-tree 在 v-for 中使用,获取不到 getCheckedNodes() 和 getCheckedKeys(),报错:Error in v-on handler: “TypeError: this.$refs.tree.getCheckedNodes is not a function” <el-tree :data="layerControl" show-checkbox node-key="id" :props="defaultProps"原创 2020-05-19 18:29:44 · 3397 阅读 · 0 评论