功能变化: 配置更新
parent
a79d491859
commit
7c521955ff
|
@ -364,3 +364,6 @@ REGISTER_PLUGINS = (
|
||||||
# 初始化需要执行的列表,用来初始化后执行
|
# 初始化需要执行的列表,用来初始化后执行
|
||||||
INITIALIZE_LIST = []
|
INITIALIZE_LIST = []
|
||||||
INITIALIZE_RESET_LIST = []
|
INITIALIZE_RESET_LIST = []
|
||||||
|
# 表前缀
|
||||||
|
TABLE_PREFIX = getattr(locals(), "TABLE_PREFIX", "dvadmin_")
|
||||||
|
DEFAULT_PASSWORD = getattr(locals(), "DEFAULT_PASSWORD", "admin123456")
|
||||||
|
|
|
@ -24,7 +24,7 @@ DATABASE_USER = "root"
|
||||||
DATABASE_PASSWORD = "123456"
|
DATABASE_PASSWORD = "123456"
|
||||||
|
|
||||||
# 表前缀
|
# 表前缀
|
||||||
TABLE_PREFIX = "sys_"
|
TABLE_PREFIX = "dvadmin_"
|
||||||
# ================================================= #
|
# ================================================= #
|
||||||
# ******** redis配置,无redis 可不进行配置 ******** #
|
# ******** redis配置,无redis 可不进行配置 ******** #
|
||||||
# ================================================= #
|
# ================================================= #
|
||||||
|
@ -37,8 +37,8 @@ TABLE_PREFIX = "sys_"
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
# 启动登录详细概略获取(通过调用api获取ip详细地址。如果是内网,关闭即可)
|
# 启动登录详细概略获取(通过调用api获取ip详细地址。如果是内网,关闭即可)
|
||||||
ENABLE_LOGIN_ANALYSIS_LOG = True
|
ENABLE_LOGIN_ANALYSIS_LOG = True
|
||||||
# 是否启用登录验证码,不需要可以设置为False
|
# 是否启用登录验证码,不需要可以设置为False,线上环境建议开启
|
||||||
CAPTCHA_STATE = False
|
CAPTCHA_STATE = True
|
||||||
# 登录接口 /api/token/ 是否需要验证码认证,用于测试,正式环境建议取消
|
# 登录接口 /api/token/ 是否需要验证码认证,用于测试,正式环境建议取消
|
||||||
LOGIN_NO_CAPTCHA_AUTH = True
|
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 |
|
@ -13,7 +13,7 @@ export const crudOptions = (vm) => {
|
||||||
rowKey: true // 必须设置,true or false
|
rowKey: true // 必须设置,true or false
|
||||||
},
|
},
|
||||||
rowHandle: {
|
rowHandle: {
|
||||||
width: 320,
|
width: 230,
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
view: {
|
view: {
|
||||||
thin: true,
|
thin: true,
|
||||||
|
@ -211,7 +211,7 @@ export const crudOptions = (vm) => {
|
||||||
}, {
|
}, {
|
||||||
title: '邮箱',
|
title: '邮箱',
|
||||||
key: 'email',
|
key: 'email',
|
||||||
minWidth: 160,
|
minWidth: 180,
|
||||||
form: {
|
form: {
|
||||||
rules: [
|
rules: [
|
||||||
{ type: 'email', message: '请输入正确的邮箱地址', trigger: ['blur', 'change'] }
|
{ type: 'email', message: '请输入正确的邮箱地址', trigger: ['blur', 'change'] }
|
||||||
|
|
Loading…
Reference in New Issue