mirror of
https://github.com/Physton/sd-webui-prompt-all-in-one.git
synced 2026-01-26 11:19:55 +00:00
.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user