element icon indicating copy to clipboard operation
element copied to clipboard

el-tree 放在 el-dialog ref无效

Open hellinnocence opened this issue 9 years ago • 2 comments

el-tree 放在 el-dialog this.$refs.tree 未定义

hellinnocence avatar Dec 15 '16 01:12 hellinnocence

我这边正好也这样用过 el-tree 放 el-dialog, 没问题

kopheece avatar Dec 15 '16 01:12 kopheece

@hellinnocence Dialog 打开之后,里面的内容才会渲染,所以可以在 open 回调中获取:http://jsfiddle.net/leopoldthecuber/m7bved6e/

Leopoldthecoder avatar Dec 15 '16 02:12 Leopoldthecoder