feat: add system config disable user registeration

This commit is contained in:
RockYang
2024-01-18 17:24:02 +08:00
parent 378e6ec9af
commit 72b95151a1
4 changed files with 22 additions and 4 deletions

View File

@@ -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)