fix: 🧩 label文字显示不全

This commit is contained in:
2025-06-12 11:53:01 +08:00
parent 6f8a3e72a5
commit cc5d380551
3 changed files with 16 additions and 7 deletions

View File

@@ -8,7 +8,7 @@
<div class="card table-main">
<el-tabs v-model="activeName" class="demo-tabs">
<el-tab-pane :label="item.name" :name="item.name" v-for="(item, index) in dataStore.list" :key="index">
<el-form :model="dataStore.formData" label-width="120px">
<el-form :model="dataStore.formData" label-position="top">
<RecursiveForm :configs="item.configs" />
</el-form>
</el-tab-pane>
@@ -108,4 +108,9 @@ const handleClick = () => {
};
</script>
<style scoped></style>
<style scoped lang="scss">
::v-deep(.el-form-item__label) {
font-weight: 900;
color: #333333;
}
</style>