Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
bluelovers committed Jun 9, 2024
1 parent f304c5e commit bad38d5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/src/components/favorite.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ import common from "@/utils/common";
import LanguageMixin from "@/mixins/languageMixin";
import IconSvg from "@/components/iconSvg.vue";
import waitTick from '@/utils/waitTick';
export default {
components: {IconSvg},
Expand Down Expand Up @@ -301,4 +302,4 @@ export default {
},
}
}
</script>
</script>
4 changes: 2 additions & 2 deletions src/src/components/history.vue
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default {
let historyItem = this.histories.find(item => item.key === historyKey)
if (!historyItem) return
this.loading = true
this.gradioAPI.getHistories(historyKey).then(res => {
return this.gradioAPI.getHistories(historyKey).then(res => {
if (res && res.length > 0) {
// 倒序
res.reverse()
Expand Down Expand Up @@ -282,4 +282,4 @@ export default {
},
}
}
</script>
</script>
4 changes: 2 additions & 2 deletions src/src/components/translateSetting.vue
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ Github: {{name}}`
if (this.tagCompleteFilesLoading) return
this.tagCompleteFilesLoading = true
this.tagCompleteFiles = []
this.gradioAPI.getCSVs().then(res => {
return this.gradioAPI.getCSVs().then(res => {
this.tagCompleteFilesLoading = false
if (!res || res.length <= 0) return
this.tagCompleteFiles.push({
Expand Down Expand Up @@ -375,4 +375,4 @@ Github: {{name}}`
},
},
}
</script>
</script>

0 comments on commit bad38d5

Please sign in to comment.