fix: lint
parent
f30157fa59
commit
a096073a8e
|
|
@ -62,10 +62,14 @@ defineExpose({
|
||||||
<div
|
<div
|
||||||
class="body-row flex items-center w-full flex-nowrap not-last-of-type:border-b"
|
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 }}
|
{{ data.key }}
|
||||||
</div>
|
</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">
|
<div class="flex-auto w-full">
|
||||||
<component
|
<component
|
||||||
:is="FieldComponent"
|
:is="FieldComponent"
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ const bodyStyle = computed(() => {
|
||||||
});
|
});
|
||||||
|
|
||||||
function init(force = false) {
|
function init(force = false) {
|
||||||
const nextValue = { ...(modelValue.value ?? {}) };
|
const nextValue = { ...modelValue.value };
|
||||||
|
|
||||||
for (const param of props.params) {
|
for (const param of props.params) {
|
||||||
if (force || nextValue[param.key] === undefined) {
|
if (force || nextValue[param.key] === undefined) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue