功能变化: 配置更新

pull/55/head
李强 2022-04-28 15:50:45 +08:00
parent a79d491859
commit 7c521955ff
9 changed files with 8 additions and 5 deletions

View File

@ -364,3 +364,6 @@ REGISTER_PLUGINS = (
# 初始化需要执行的列表,用来初始化后执行
INITIALIZE_LIST = []
INITIALIZE_RESET_LIST = []
# 表前缀
TABLE_PREFIX = getattr(locals(), "TABLE_PREFIX", "dvadmin_")
DEFAULT_PASSWORD = getattr(locals(), "DEFAULT_PASSWORD", "admin123456")

View File

@ -24,7 +24,7 @@ DATABASE_USER = "root"
DATABASE_PASSWORD = "123456"
# 表前缀
TABLE_PREFIX = "sys_"
TABLE_PREFIX = "dvadmin_"
# ================================================= #
# ******** redis配置无redis 可不进行配置 ******** #
# ================================================= #
@ -37,8 +37,8 @@ TABLE_PREFIX = "sys_"
DEBUG = False
# 启动登录详细概略获取(通过调用api获取ip详细地址。如果是内网关闭即可)
ENABLE_LOGIN_ANALYSIS_LOG = True
# 是否启用登录验证码不需要可以设置为False
CAPTCHA_STATE = False
# 是否启用登录验证码不需要可以设置为False,线上环境建议开启
CAPTCHA_STATE = True
# 登录接口 /api/token/ 是否需要验证码认证,用于测试,正式环境建议取消
LOGIN_NO_CAPTCHA_AUTH = True
# ================================================= #

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 33 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 225 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 927 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

View File

@ -13,7 +13,7 @@ export const crudOptions = (vm) => {
rowKey: true // 必须设置true or false
},
rowHandle: {
width: 320,
width: 230,
fixed: 'right',
view: {
thin: true,
@ -211,7 +211,7 @@ export const crudOptions = (vm) => {
}, {
title: '邮箱',
key: 'email',
minWidth: 160,
minWidth: 180,
form: {
rules: [
{ type: 'email', message: '请输入正确的邮箱地址', trigger: ['blur', 'change'] }