修复几个小bug。

This commit is contained in:
vdpAdmin 2023-04-18 16:46:59 +08:00
parent aa29fe67c6
commit bf15bcb963
3 changed files with 3 additions and 4 deletions

View File

@ -190,7 +190,7 @@
this.layoutProps.span = this.widget.options.md || 12
}
} else {
this.layoutProps.spn = this.widget.options.span
this.layoutProps.span = this.widget.options.span
}
},

View File

@ -93,8 +93,7 @@
},
methods: {
onTabClick(evt) {
console.log('onTabClick', evt)
let paneName = evt.name
let paneName = evt.paneName
this.widget.tabs.forEach((tp) => {
tp.options.active = tp.options.name === paneName;
})

View File

@ -18,7 +18,7 @@
</div>
<el-drawer :title="i18nt('designer.toolbar.nodeTreeTitle')" direction="ltr" v-model="showNodeTreeDrawerFlag" :modal="true" :size="280"
:destroy-on-close="true" custom-class="node-tree-drawer">
:destroy-on-close="true" class="node-tree-drawer">
<el-tree ref="nodeTree" :data="nodeTreeData" node-key="id" default-expand-all highlight-current class="node-tree"
icon-class="el-icon-arrow-right" @node-click="onNodeTreeClick"></el-tree>
</el-drawer>