mirror of
https://github.com/imdap/ruoyi-plus-vben5.git
synced 2026-05-11 13:22:09 +08:00
fix: lint
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user