[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" :maskClosable="false"
:footer="null" :footer="null"
:confirmLoading="confirmLoading" :confirmLoading="confirmLoading"
:fullscreen.sync="fullscreen"
@ok="handleOk" @ok="handleOk"
@cancel="handleCancel"> @cancel="handleCancel">
<a-spin :spinning="confirmLoading"> <a-spin :spinning="confirmLoading">
<a-tree :show-line="true" <a-tree :show-line="true"
:show-icon="true" :show-icon="true"
style="height: 50vh; overflow-y: auto" style="height: 50vh; overflow-y: auto"
:class="{fullscreen: fullscreen}"
checkable checkable
:tree-data="treeData" :tree-data="treeData"
:selected-keys="selectedKeys" :selected-keys="selectedKeys"
@@ -55,6 +57,7 @@ export default {
data () { data () {
return { return {
width: 600, width: 600,
fullscreen: false,
visible: false, visible: false,
confirmLoading: false, confirmLoading: false,
selectedKeys: [], selectedKeys: [],
@@ -284,5 +287,10 @@ export default {
</script> </script>
<style scoped lang="less"> <style scoped lang="less">
.fullscreen .tree-node-custom-title {
max-width: 90vw;
}
.tree-node-custom-title {
max-width: 460px;
}
</style> </style>