diff --git a/smart-admin-service/smart-admin-api/src/main/resources/prod/application.properties b/smart-admin-service/smart-admin-api/src/main/resources/prod/application.properties index 70db1f5a..a9b63e70 100644 --- a/smart-admin-service/smart-admin-api/src/main/resources/prod/application.properties +++ b/smart-admin-service/smart-admin-api/src/main/resources/prod/application.properties @@ -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 ####################################### diff --git a/smart-admin-web/src/main.js b/smart-admin-web/src/main.js index e4fe05e9..bb90a263 100644 --- a/smart-admin-web/src/main.js +++ b/smart-admin-web/src/main.js @@ -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;//赋值使用 diff --git a/快速部署/README.md b/快速部署/README.md index 66821d87..6741c640 100644 --- a/快速部署/README.md +++ b/快速部署/README.md @@ -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+)