fix: lint

This commit is contained in:
allen
2026-04-13 20:43:29 +08:00
parent f30157fa59
commit a096073a8e
2 changed files with 7 additions and 3 deletions

View File

@@ -62,10 +62,14 @@ defineExpose({
<div
class="body-row flex items-center w-full flex-nowrap not-last-of-type:border-b"
>
<div class="body-cell pt-2 pb-2 px-5 leading-[1.5rem] flex items-center flex-nowrap">
<div
class="body-cell pt-2 pb-2 px-5 leading-[1.5rem] flex items-center flex-nowrap"
>
{{ data.key }}
</div>
<div class="body-cell pt-2 pb-2 px-5 leading-[1.5rem] flex items-center flex-nowrap">
<div
class="body-cell pt-2 pb-2 px-5 leading-[1.5rem] flex items-center flex-nowrap"
>
<div class="flex-auto w-full">
<component
:is="FieldComponent"

View File

@@ -55,7 +55,7 @@ const bodyStyle = computed(() => {
});
function init(force = false) {
const nextValue = { ...(modelValue.value ?? {}) };
const nextValue = { ...modelValue.value };
for (const param of props.params) {
if (force || nextValue[param.key] === undefined) {