pref(download): keep model content status
This commit is contained in:
@@ -28,21 +28,23 @@
|
|||||||
|
|
||||||
<ResponseScroll class="-mx-5 h-full">
|
<ResponseScroll class="-mx-5 h-full">
|
||||||
<div class="px-5">
|
<div class="px-5">
|
||||||
<ModelContent
|
<KeepAlive>
|
||||||
v-if="currentModel"
|
<ModelContent
|
||||||
:key="currentModel.id"
|
v-if="currentModel"
|
||||||
:model="currentModel"
|
:key="currentModel.id"
|
||||||
:editable="true"
|
:model="currentModel"
|
||||||
@submit="createDownTask"
|
:editable="true"
|
||||||
>
|
@submit="createDownTask"
|
||||||
<template #action>
|
>
|
||||||
<Button
|
<template #action>
|
||||||
icon="pi pi-download"
|
<Button
|
||||||
:label="$t('download')"
|
icon="pi pi-download"
|
||||||
type="submit"
|
:label="$t('download')"
|
||||||
></Button>
|
type="submit"
|
||||||
</template>
|
></Button>
|
||||||
</ModelContent>
|
</template>
|
||||||
|
</ModelContent>
|
||||||
|
</KeepAlive>
|
||||||
|
|
||||||
<div v-show="data.length === 0">
|
<div v-show="data.length === 0">
|
||||||
<div class="flex flex-col items-center gap-4 py-8">
|
<div class="flex flex-col items-center gap-4 py-8">
|
||||||
|
|||||||
Reference in New Issue
Block a user