登录页去掉验证
This commit is contained in:
@@ -187,19 +187,6 @@ export function getTenantEnable() {
|
||||
return process.env.VUE_APP_TENANT_ENABLE || true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得验证码功能是否开启
|
||||
*/
|
||||
export function getCaptchaEnable() {
|
||||
if (process.env.VUE_APP_CAPTCHA_ENABLE === "true") {
|
||||
return true;
|
||||
}
|
||||
if (process.env.VUE_APP_CAPTCHA_ENABLE === "false") {
|
||||
return false;
|
||||
}
|
||||
return process.env.VUE_APP_CAPTCHA_ENABLE || true;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获得文档是否开启
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user