feat: add system config item for reward image, add app config item to use custom text2img param json file

This commit is contained in:
RockYang
2023-10-08 17:48:50 +08:00
parent 5fdff90a10
commit 91dfd59731
9 changed files with 296 additions and 131 deletions

View File

@@ -358,6 +358,7 @@ onMounted(() => {
httpGet("/api/admin/config/get?key=system").then(res => {
title.value = res.data.title
rewardImg.value = res.data.reward_img
}).catch(e => {
ElMessage.error("获取系统配置失败:" + e.message)
})