mirror of
https://github.com/tiger1103/gfast.git
synced 2026-09-21 02:04:07 +00:00
代码生成前端页面错误修复
This commit is contained in:
@@ -383,7 +383,7 @@ export default {
|
||||
{{end}}
|
||||
if (this.form.{{$pkColumnName}} != null) {
|
||||
update{{.table.BusinessName|UcFirst}}(this.form).then(response => {
|
||||
if (response.code === 200) {
|
||||
if (response.code === 0) {
|
||||
this.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
@@ -391,7 +391,7 @@ export default {
|
||||
});
|
||||
} else {
|
||||
add{{.table.BusinessName|UcFirst}}(this.form).then(response => {
|
||||
if (response.code === 200) {
|
||||
if (response.code === 0) {
|
||||
this.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
|
||||
@@ -383,7 +383,7 @@ export default {
|
||||
{{end}}
|
||||
if (this.form.{{$pkColumnName}} != null) {
|
||||
update{{.table.BusinessName|UcFirst}}(this.form).then(response => {
|
||||
if (response.code === 200) {
|
||||
if (response.code === 0) {
|
||||
this.msgSuccess("修改成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
@@ -391,7 +391,7 @@ export default {
|
||||
});
|
||||
} else {
|
||||
add{{.table.BusinessName|UcFirst}}(this.form).then(response => {
|
||||
if (response.code === 200) {
|
||||
if (response.code === 0) {
|
||||
this.msgSuccess("新增成功");
|
||||
this.open = false;
|
||||
this.getList();
|
||||
|
||||
Reference in New Issue
Block a user