⬆️ 升级优化依赖,优化代码生成模板

This commit is contained in:
smallchill 2020-04-17 20:52:36 +08:00
parent 90c8b73c7e
commit 3943a9f618
4 changed files with 17 additions and 18 deletions

View File

@ -88,7 +88,7 @@
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>druid-spring-boot-starter</artifactId>
<version>1.1.18</version>
<version>1.1.22</version>
</dependency>
<!-- MySQL -->
<dependency>

View File

@ -47,6 +47,10 @@
},
selectionList: [],
option: {
height: 'auto',
calcHeight: 80,
searchShow: true,
searchMenuSpan: 6,
tip: false,
border: true,
index: true,
@ -90,30 +94,30 @@
}
},
methods: {
rowSave(row, loading, done) {
rowSave(row, done, loading) {
add(row).then(() => {
loading();
done();
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
});
}, error => {
done();
console.log(error);
window.console.log(error);
loading();
});
},
rowUpdate(row, index, loading, done) {
rowUpdate(row, index, done, loading) {
update(row).then(() => {
loading();
done();
this.onLoad(this.page);
this.$message({
type: "success",
message: "操作成功!"
});
}, error => {
done();
console.log(error);
window.console.log(error);
loading();
});
},
rowDel(row) {

View File

@ -28,14 +28,9 @@
<!-- Seata-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-alibaba-seata</artifactId>
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
<version>${alibaba.cloud.version}</version>
</dependency>
<dependency>
<groupId>io.seata</groupId>
<artifactId>seata-spring-boot-starter</artifactId>
<version>${alibaba.seata.version}</version>
</dependency>
</dependencies>
</project>

View File

@ -48,11 +48,11 @@
<disruptor.version>3.4.2</disruptor.version>
<spring.boot.admin.version>2.2.2</spring.boot.admin.version>
<mica.auto.version>1.1.0</mica.auto.version>
<alibaba.cloud.version>2.2.0.RELEASE</alibaba.cloud.version>
<alibaba.cloud.version>2.2.1.RELEASE</alibaba.cloud.version>
<alibaba.seata.version>1.1.0</alibaba.seata.version>
<spring.boot.version>2.2.5.RELEASE</spring.boot.version>
<spring.cloud.version>Hoxton.SR2</spring.cloud.version>
<spring.boot.version>2.2.6.RELEASE</spring.boot.version>
<spring.cloud.version>Hoxton.SR3</spring.cloud.version>
<spring.platform.version>Cairo-SR8</spring.platform.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>