mirror of
https://github.com/Physton/sd-webui-prompt-all-in-one.git
synced 2026-01-26 11:19:55 +00:00
fix bug
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -522,11 +522,12 @@ export default {
|
||||
localStorage.setItem('phystonPromptEnableTooltip', this.enableTooltip ? 'true' : 'false')
|
||||
this.updateTippyState()
|
||||
if (data.translateApi !== null) {
|
||||
if (data.translateApi === 'alibaba_free') {
|
||||
this.translateApi = data.translateApi
|
||||
/*if (data.translateApi === 'alibaba_free') {
|
||||
this.gradioAPI.setData('translateApi', this.translateApi)
|
||||
} else {
|
||||
this.translateApi = data.translateApi
|
||||
}
|
||||
}*/
|
||||
}
|
||||
if (data.tagCompleteFile !== null) {
|
||||
this.tagCompleteFile = data.tagCompleteFile
|
||||
|
||||
Reference in New Issue
Block a user