Browse Source

增加贡献者列表 修复系统设置mysqllog问题和创建用户最低6个字符限制

main
pixel 4 years ago
parent
commit
d07a1e9dbb
  1. 2
      README-zh_CN.md
  2. 2
      README.md
  3. 6
      web/src/view/superAdmin/user/user.vue
  4. 2
      web/src/view/systemTools/system/system.vue

2
README-zh_CN.md

@ -15,7 +15,7 @@
# 项目文档 # 项目文档
[在线文档](http://doc.henrongyi.top/) [在线文档](http://doc.henrongyi.top/)
[开发教学](http://doc.henrongyi.top/help/)
[开发教学](http://doc.henrongyi.top/help/) (贡献者: <a href="https://github.com/LLemonGreen">LLemonGreen</a> And <a href="https://github.com/fkk0509">Fann</a>)
- 前端UI框架:[element-ui](https://github.com/ElemeFE/element) - 前端UI框架:[element-ui](https://github.com/ElemeFE/element)
- 后台框架:[gin](https://github.com/gin-gonic/gin) - 后台框架:[gin](https://github.com/gin-gonic/gin)

2
README.md

@ -15,7 +15,7 @@ English | [简体中文](./README-zh_CN.md)
# Project Guidelines # Project Guidelines
[Online Documentation](http://doc.henrongyi.top/) [Online Documentation](http://doc.henrongyi.top/)
[Development Steps](http://doc.henrongyi.top/help/)
[Development Steps](http://doc.henrongyi.top/help/) (Contributor: <a href="https://github.com/LLemonGreen">LLemonGreen</a> And <a href="https://github.com/fkk0509">Fann</a>)
- Web UI Framework:[element-ui](https://github.com/ElemeFE/element) - Web UI Framework:[element-ui](https://github.com/ElemeFE/element)
- Server Framework:[gin](https://github.com/gin-gonic/gin) - Server Framework:[gin](https://github.com/gin-gonic/gin)

6
web/src/view/superAdmin/user/user.vue

@ -124,10 +124,12 @@ export default {
}, },
rules: { rules: {
username: [ username: [
{ required: true, message: "请输入用户名", trigger: "blur" }
{ required: true, message: "请输入用户名", trigger: "blur" },
{ min: 6, message: "最低6位字符", trigger: "blur"}
], ],
password: [ password: [
{ required: true, message: "请输入用户密码", trigger: "blur" }
{ required: true, message: "请输入用户密码", trigger: "blur" },
{ min: 6, message: "最低6位字符", trigger: "blur"}
], ],
nickName: [ nickName: [
{ required: true, message: "请输入用户昵称", trigger: "blur" } { required: true, message: "请输入用户昵称", trigger: "blur" }

2
web/src/view/systemTools/system/system.vue

@ -46,7 +46,7 @@
<el-input v-model.number="config.mysql.maxOpenConns"></el-input> <el-input v-model.number="config.mysql.maxOpenConns"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="logMode"> <el-form-item label="logMode">
<el-checkbox v-model="config.log.logMode"></el-checkbox>
<el-checkbox v-model="config.mysql.logMode"></el-checkbox>
</el-form-item> </el-form-item>
</template> </template>
<template v-show="config.system.dbType == 'sqlite'"> <template v-show="config.system.dbType == 'sqlite'">

Loading…
Cancel
Save