更新配置代码

This commit is contained in:
GeekMaster
2025-08-26 15:33:32 +08:00
parent b6d81890cf
commit b3b1981264
22 changed files with 510 additions and 388 deletions

View File

@@ -43,10 +43,7 @@ onMounted(() => {
})
const save = () => {
httpPost('/api/admin/config/update', {
key: 'agreement',
config: { content: agreement.value, updated: true },
})
httpPost('/api/admin/config/update/base', { mark_map_text: agreement.value })
.then(() => {
ElMessage.success('操作成功!')
})