mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-27 21:44:25 +08:00
更新配置代码
This commit is contained in:
@@ -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('操作成功!')
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user