fix(视图): 修复当指标或维度过多时,使用富文本视图选择参数,参数超过一屏显示不全问题 #4300

This commit is contained in:
wangjiahao 2023-01-06 10:56:21 +08:00
parent efb1e7e1b7
commit c51f1ca155

View File

@ -1,5 +1,5 @@
<template> <template>
<div @mousedown="fieldsAreaDown"> <div @mousedown="fieldsAreaDown" class="field-main">
<el-button <el-button
v-for="(field) in fields" v-for="(field) in fields"
:key="field.id" :key="field.id"
@ -29,15 +29,10 @@ export default {
} }
}, },
data() { data() {
return { return {}
}
},
computed: {
},
watch: {
}, },
computed: {},
watch: {},
mounted() { mounted() {
}, },
methods: { methods: {
@ -53,11 +48,18 @@ export default {
</script> </script>
<style scoped> <style scoped>
.field-area{ .field-main {
width: 183px;
max-height: 300px;
overflow-x: hidden;
overflow-y: auto;
}
.field-area {
width: 174px; width: 174px;
margin: 4px 0 0 0; margin: 4px 0 0 0;
text-align: left; text-align: left;
margin-left: 0px!important; margin-left: 0px !important;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
white-space: nowrap; white-space: nowrap;