pull/337/head
parent
f304c5eb84
commit
bad38d5050
|
|
@ -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},
|
||||
|
|
@ -301,4 +302,4 @@ export default {
|
|||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
@ -282,4 +282,4 @@ export default {
|
|||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
@ -375,4 +375,4 @@ Github: {{name}}`
|
|||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue