mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-12 12:13:46 +08:00
feat: add system config disable user registeration
This commit is contained in:
@@ -154,6 +154,8 @@ httpGet("/api/admin/config/get?key=system").then(res => {
|
||||
ways.push("邮箱地址")
|
||||
}
|
||||
placeholder.value += ways.join("/")
|
||||
// 是否启用注册
|
||||
enableRegister.value = res.data['enabled_register']
|
||||
}
|
||||
}).catch(e => {
|
||||
ElMessage.error("获取系统配置失败:" + e.message)
|
||||
|
||||
Reference in New Issue
Block a user