fix(form): group-list lastValues 为空时兼容取值报错

Made-with: Cursor
This commit is contained in:
roymondchen 2026-04-23 19:45:43 +08:00
parent 9ba12e97af
commit 7249b5106e

View File

@ -10,7 +10,7 @@
v-for="(item, index) in model[name]" v-for="(item, index) in model[name]"
:key="index" :key="index"
:model="item" :model="item"
:lastValues="getLastValues(lastValues[name], Number(index))" :lastValues="getLastValues(lastValues?.[name], Number(index))"
:is-compare="isCompare" :is-compare="isCompare"
:config="config" :config="config"
:prop="prop" :prop="prop"