add stable diffusion default negtive prompt system config

This commit is contained in:
RockYang
2024-05-07 16:21:31 +08:00
parent b0c9ffc5a6
commit 9a797bb4a5
8 changed files with 271 additions and 237 deletions

View File

@@ -608,7 +608,8 @@ onMounted(() => {
})
httpGet("/api/config/get?key=system").then(res => {
sdPower.value = res.data["sd_power"]
sdPower.value = res.data.sd_power
params.value.neg_prompt = res.data.sd_neg_prompt
}).catch(e => {
ElMessage.error("获取系统配置失败:" + e.message)
})