bug
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
<script>
|
||||
import RenderElement from '../designer/components/RenderElement'
|
||||
// import AppGridDV from '../../../project/dv/apps/AppGridDV'
|
||||
// import AppGridDV from '../../../project/dv/apps/AppGridDV'
|
||||
|
||||
export default {
|
||||
name: 'AppGigscreenViewer',
|
||||
|
||||
@@ -394,27 +394,15 @@
|
||||
}
|
||||
|
||||
const node = this.$refs.VueOkrTree.getNode(id)
|
||||
this.$refs.VueOkrTree.append({
|
||||
id: new Date().getTime(),
|
||||
label: '子节点',
|
||||
userList: userList || []
|
||||
}, node)
|
||||
this.$refs.VueOkrTree.append({
|
||||
id: new Date().getTime(),
|
||||
label: '子节点',
|
||||
userList: userList || []
|
||||
}, node)
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.autoScale()
|
||||
})
|
||||
|
||||
if (userList.length) {
|
||||
this.$refs.VueOkrTree.append({
|
||||
id: new Date().getTime(),
|
||||
label: '子节点',
|
||||
userList: userList || []
|
||||
}, node)
|
||||
|
||||
this.$nextTick(() => {
|
||||
this.autoScale()
|
||||
})
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
this.autoScale()
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user