add stable diffusion default negtive prompt system config

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

View File

@@ -350,7 +350,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 => {
showNotify({type: "danger", message: "获取系统配置失败:" + e.message})
})