mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-30 02:45:08 +08:00
Merge branch 'master' of https://gitee.com/zhijiantianya/ruoyi-vue-pro into feature/1.8.0-uniapp
Conflicts: sql/optional/mall/mall.sql
This commit is contained in:
@ -185,6 +185,19 @@ 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