mirror of
https://github.com/chillzhuang/blade-tool
synced 2024-12-12 12:19:27 +08:00
⬆️ 升级优化依赖,优化代码生成模板
This commit is contained in:
parent
90c8b73c7e
commit
3943a9f618
@ -88,7 +88,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba</groupId>
|
<groupId>com.alibaba</groupId>
|
||||||
<artifactId>druid-spring-boot-starter</artifactId>
|
<artifactId>druid-spring-boot-starter</artifactId>
|
||||||
<version>1.1.18</version>
|
<version>1.1.22</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- MySQL -->
|
<!-- MySQL -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -47,6 +47,10 @@
|
|||||||
},
|
},
|
||||||
selectionList: [],
|
selectionList: [],
|
||||||
option: {
|
option: {
|
||||||
|
height: 'auto',
|
||||||
|
calcHeight: 80,
|
||||||
|
searchShow: true,
|
||||||
|
searchMenuSpan: 6,
|
||||||
tip: false,
|
tip: false,
|
||||||
border: true,
|
border: true,
|
||||||
index: true,
|
index: true,
|
||||||
@ -90,30 +94,30 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
rowSave(row, loading, done) {
|
rowSave(row, done, loading) {
|
||||||
add(row).then(() => {
|
add(row).then(() => {
|
||||||
loading();
|
done();
|
||||||
this.onLoad(this.page);
|
this.onLoad(this.page);
|
||||||
this.$message({
|
this.$message({
|
||||||
type: "success",
|
type: "success",
|
||||||
message: "操作成功!"
|
message: "操作成功!"
|
||||||
});
|
});
|
||||||
}, error => {
|
}, error => {
|
||||||
done();
|
window.console.log(error);
|
||||||
console.log(error);
|
loading();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
rowUpdate(row, index, loading, done) {
|
rowUpdate(row, index, done, loading) {
|
||||||
update(row).then(() => {
|
update(row).then(() => {
|
||||||
loading();
|
done();
|
||||||
this.onLoad(this.page);
|
this.onLoad(this.page);
|
||||||
this.$message({
|
this.$message({
|
||||||
type: "success",
|
type: "success",
|
||||||
message: "操作成功!"
|
message: "操作成功!"
|
||||||
});
|
});
|
||||||
}, error => {
|
}, error => {
|
||||||
done();
|
window.console.log(error);
|
||||||
console.log(error);
|
loading();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
rowDel(row) {
|
rowDel(row) {
|
||||||
|
@ -28,14 +28,9 @@
|
|||||||
<!-- Seata-->
|
<!-- Seata-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.alibaba.cloud</groupId>
|
<groupId>com.alibaba.cloud</groupId>
|
||||||
<artifactId>spring-cloud-alibaba-seata</artifactId>
|
<artifactId>spring-cloud-starter-alibaba-seata</artifactId>
|
||||||
<version>${alibaba.cloud.version}</version>
|
<version>${alibaba.cloud.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>io.seata</groupId>
|
|
||||||
<artifactId>seata-spring-boot-starter</artifactId>
|
|
||||||
<version>${alibaba.seata.version}</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
</project>
|
</project>
|
||||||
|
6
pom.xml
6
pom.xml
@ -48,11 +48,11 @@
|
|||||||
<disruptor.version>3.4.2</disruptor.version>
|
<disruptor.version>3.4.2</disruptor.version>
|
||||||
<spring.boot.admin.version>2.2.2</spring.boot.admin.version>
|
<spring.boot.admin.version>2.2.2</spring.boot.admin.version>
|
||||||
<mica.auto.version>1.1.0</mica.auto.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>
|
<alibaba.seata.version>1.1.0</alibaba.seata.version>
|
||||||
|
|
||||||
<spring.boot.version>2.2.5.RELEASE</spring.boot.version>
|
<spring.boot.version>2.2.6.RELEASE</spring.boot.version>
|
||||||
<spring.cloud.version>Hoxton.SR2</spring.cloud.version>
|
<spring.cloud.version>Hoxton.SR3</spring.cloud.version>
|
||||||
<spring.platform.version>Cairo-SR8</spring.platform.version>
|
<spring.platform.version>Cairo-SR8</spring.platform.version>
|
||||||
|
|
||||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
|
Loading…
Reference in New Issue
Block a user