fix: properties doc check & form/move item workflow step
This commit is contained in:
parent
5d5621882e
commit
ba64702287
4 changed files with 49 additions and 7 deletions
|
|
@ -446,6 +446,7 @@ watch(
|
|||
>
|
||||
<NoData useField />
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="tempStep[stepIndex].attributes?.properties?.length > 0"
|
||||
class="q-py-sm"
|
||||
|
|
@ -470,7 +471,12 @@ watch(
|
|||
:disable="propIndex === 0"
|
||||
:size="$q.screen.xs ? 'xs' : ''"
|
||||
style="color: hsl(var(--text-mute-2))"
|
||||
@click="moveItemUp(tempStep, propIndex)"
|
||||
@click="
|
||||
moveItemUp(
|
||||
tempStep[stepIndex].attributes.properties,
|
||||
propIndex,
|
||||
)
|
||||
"
|
||||
/>
|
||||
<q-btn
|
||||
id="btn-move-down-product"
|
||||
|
|
@ -479,9 +485,17 @@ watch(
|
|||
flat
|
||||
round
|
||||
:size="$q.screen.xs ? 'xs' : ''"
|
||||
:disable="propIndex === tempStep?.length - 1"
|
||||
:disable="
|
||||
propIndex ===
|
||||
tempStep[stepIndex].attributes.properties?.length - 1
|
||||
"
|
||||
style="color: hsl(var(--text-mute-2))"
|
||||
@click="moveItemDown(tempStep, propIndex)"
|
||||
@click="
|
||||
moveItemDown(
|
||||
tempStep[stepIndex].attributes.properties,
|
||||
propIndex,
|
||||
)
|
||||
"
|
||||
/>
|
||||
|
||||
<q-avatar
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue