[update 拆分-树排序弹框] 节点宽度调整

This commit is contained in:
danshihao
2024-09-13 18:12:51 +08:00
parent b91e7767ed
commit 32e4419bc4
@@ -7,12 +7,14 @@
:maskClosable="false"
:footer="null"
:confirmLoading="confirmLoading"
:fullscreen.sync="fullscreen"
@ok="handleOk"
@cancel="handleCancel">
<a-spin :spinning="confirmLoading">
<a-tree :show-line="true"
:show-icon="true"
style="height: 50vh; overflow-y: auto"
:class="{fullscreen: fullscreen}"
checkable
:tree-data="treeData"
:selected-keys="selectedKeys"
@@ -55,6 +57,7 @@ export default {
data () {
return {
width: 600,
fullscreen: false,
visible: false,
confirmLoading: false,
selectedKeys: [],
@@ -284,5 +287,10 @@ export default {
</script>
<style scoped lang="less">
.fullscreen .tree-node-custom-title {
max-width: 90vw;
}
.tree-node-custom-title {
max-width: 460px;
}
</style>