feat(form): groud-list title支持html

This commit is contained in:
roymondchen 2025-12-24 15:40:17 +08:00
parent b0d8c5383b
commit 2630f00f13
2 changed files with 3 additions and 3 deletions

View File

@ -10,11 +10,11 @@
v-for="(item, index) in model[name]"
:key="index"
:model="item"
:lastValues="getLastValues(lastValues[name], index)"
:lastValues="getLastValues(lastValues[name], Number(index))"
:is-compare="isCompare"
:config="config"
:prop="prop"
:index="index"
:index="Number(index)"
:label-width="labelWidth"
:size="size"
:disabled="disabled"

View File

@ -3,7 +3,7 @@
<template #header>
<div>
<TMagicButton link :disabled="disabled" @click="expandHandler">
<TMagicIcon><CaretBottom v-if="expand" /><CaretRight v-else /></TMagicIcon>{{ title }}
<TMagicIcon><CaretBottom v-if="expand" /><CaretRight v-else /></TMagicIcon><span v-html="title"></span>
</TMagicButton>
<TMagicButton