Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hyf-github-user committed Sep 10, 2024
1 parent 18d777a commit c993679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/suno/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export default defineComponent({
ElMessage.success(this.$t('suno.message.startTaskSuccess'));
})
.catch((error) => {
ElMessage.error(error.respnse.data.error.message);
ElMessage.error(error?.respnse?.data?.error?.message || this.$t('suno.message.startTaskFailed'));
})
.finally(async () => {
await this.onGetTasks();
Expand Down

0 comments on commit c993679

Please sign in to comment.