mirror of
https://github.com/vform666/variant-form3-vite.git
synced 2024-11-10 09:39:20 +08:00
修复几个小bug。
This commit is contained in:
parent
aa29fe67c6
commit
bf15bcb963
@ -190,7 +190,7 @@
|
|||||||
this.layoutProps.span = this.widget.options.md || 12
|
this.layoutProps.span = this.widget.options.md || 12
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.layoutProps.spn = this.widget.options.span
|
this.layoutProps.span = this.widget.options.span
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -93,8 +93,7 @@
|
|||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onTabClick(evt) {
|
onTabClick(evt) {
|
||||||
console.log('onTabClick', evt)
|
let paneName = evt.paneName
|
||||||
let paneName = evt.name
|
|
||||||
this.widget.tabs.forEach((tp) => {
|
this.widget.tabs.forEach((tp) => {
|
||||||
tp.options.active = tp.options.name === paneName;
|
tp.options.active = tp.options.name === paneName;
|
||||||
})
|
})
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<el-drawer :title="i18nt('designer.toolbar.nodeTreeTitle')" direction="ltr" v-model="showNodeTreeDrawerFlag" :modal="true" :size="280"
|
<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"
|
<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>
|
icon-class="el-icon-arrow-right" @node-click="onNodeTreeClick"></el-tree>
|
||||||
</el-drawer>
|
</el-drawer>
|
||||||
|
Loading…
Reference in New Issue
Block a user