This commit is contained in:
zhuoda 2020-12-14 14:10:27 +08:00
parent 0ba522632b
commit 653f4c2d6c
3 changed files with 15 additions and 5 deletions

View File

@ -35,7 +35,7 @@ spring.datasource.min-evictable-idle-time-millis=300000
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.filters=stat
spring.datasource.druid.username=druid
spring.datasource.druid.password=Gq123456
spring.datasource.druid.password=druid
spring.datasource.druid.login.enabled=false
######################### redis #######################################

View File

@ -24,7 +24,7 @@ import enumInfo from '@/constants';
import tableAction from './lib/table-action';
//时间
import moment from 'moment';
import moment from 'moment';
Vue.prototype.$tableAction = tableAction;
@ -36,13 +36,13 @@ Vue.use(JsonViewer);
Vue.use(vClickOutside);
Number.prototype.toFixed = function (length) {·
Number.prototype.toFixed = function (length) {
let x = new Decimal(this);
return x.toFixed(length);
};
//时间处理
moment.locale('zh-cn'); //设置语言 或 moment.lang('zh-cn');
moment.locale('zh-cn'); //设置语言 或 moment.lang('zh-cn');
Vue.prototype.$moment = moment;//赋值使用

View File

@ -1,8 +1,18 @@
### 快速启动
如果你是全栈开发者你完全可以快速过一遍此文章甚至也可以不用看如果你是前端OR后端请仔细阅读。
>*前置条件:*
>*1、java版本1.8+含1.8*
>*2、Mysql 5.7+(含5.7)*
>*3、Redis*
>*4、Maven*
>*5、idea 、eclipse 必须安装lombok*
>*6、nodejs*
>*7、npm*
>*8、vscode、webstorm*
### 1 拉取代码
从 [https://github.com/1024-lab/smart-admin](https://github.com/1024-lab/smart-admin) 或者 [https://gitee.com/lab1024/smart-admin](https://gitee.com/lab1024/smart-admin) 拉取最新代码
从 [https://gitee.com/lab1024/smart-admin](https://gitee.com/lab1024/smart-admin) 拉取最新代码
### 2 启动后端
#### 2.1 执行Sql脚本Mysql5.7+