mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-09-23 05:46:40 +08:00
fix code
This commit is contained in:
parent
0ba522632b
commit
653f4c2d6c
@ -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 #######################################
|
||||
|
@ -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;//赋值使用
|
||||
|
||||
|
||||
|
@ -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+)
|
||||
|
Loading…
Reference in New Issue
Block a user