Fix retrieve tasks (#109)

Co-authored-by: AceDataCloud <office@acedata.cloud>
This commit is contained in:
GermeyandAceDataCloud authored and GitHub committed 2024-08-16 15:41:24 +08:00
1 parent 0831e3e181
commit acc99514ca
12 files changed
+45 -15

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ import MarkdownRenderer from '@/components/common/MarkdownRenderer.vue';
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
import { IApplication, IChatMessage, IChatMessageState } from '@/models';
import CopyToClipboard from '@/components/common/CopyToClipboard.vue';
import RestartToGenerate from '@/components/common/RestartToGenerate.vue';
import RestartToGenerate from './RestartToGenerate.vue';
import {
ERROR_CODE_API_ERROR,
ERROR_CODE_BAD_REQUEST,
@@ -37,8 +37,7 @@ export default defineComponent({
</script>
<style lang="scss" scoped>
.icon-check,
.icon-copy {
.icon-sync {
margin-left: 5px;
cursor: pointer;
color: inherit;
+3 -1
View File
@@ -34,7 +34,9 @@
<p class="style">{{ audio?.style }}</p>
</div>
<div class="right">
<el-button size="small" round @click="onExtend($event, audio)">{{ $t('suno.button.extend') }}</el-button>
<el-button v-if="audio?.audio_url && audio?.video_url" size="small" round @click="onExtend($event, audio)">{{
$t('suno.button.extend')
}}</el-button>
<el-tooltip effect="dark" :content="$t('suno.button.download')" placement="top">
<font-awesome-icon
v-if="audio?.audio_url"