1. 按正常的点击按钮,显示dialog弹出的Tree控件,然后把该条数据下的已经选中的checkbox , 用setCheckedNodes或者setCheckedKeys方法选择上 , 报下面这个错的原因是出在setCheckedNodes(setCheckedKeys)方法这里 , 导致可以弹出Tree控件但是已选择的checkbox没有选中(点击两次就会选中 ~ ~)
vue.runtime.esm.js:567 [Vue warn]: Error in event handler for "click": "TypeError: Cannot read property 'setCheckedNodes' of undefined" found in ---> <ElButton> at packages/button/src/button.vue <ElTableBody> <ElTable> at packages/table/src/table.vue <ElTabPane> at packages/tabs/src/tab-pane.vue <ElTabs> at packages/tabs/src/tabs.vue <UserPermissions> at D:\git-project\p2p-manager\src\views\userPermissions\index.vue <Conf> at D:\git-project\p2p-manager\src\views\conf\index.vue <App> at D:\git-project\p2p-manager\src\app.vue <Root>