BUG 27822
This commit is contained in:
@@ -215,18 +215,16 @@ export default {
|
|||||||
// 确定新增
|
// 确定新增
|
||||||
addConfirm() {
|
addConfirm() {
|
||||||
// console.log('确定')
|
// console.log('确定')
|
||||||
this.instance
|
this.instance.post(`/appbanner/addOrUpdate`, {
|
||||||
.post(`/appbanner/addOrUpdate`, {
|
imgUrl: this.dialogInfo.imgUrl?.[0]?.url,
|
||||||
imgUrl: this.dialogInfo.imgUrl[0].url,
|
|
||||||
linkUrl: this.dialogInfo.linkUrl,
|
linkUrl: this.dialogInfo.linkUrl,
|
||||||
status: this.status,
|
status: this.status,
|
||||||
title: this.dialogInfo.title,
|
title: this.dialogInfo.title,
|
||||||
showIndex: this.dialogInfo.showIndex,
|
showIndex: this.dialogInfo.showIndex,
|
||||||
id: this.dialogInfo.id,
|
id: this.dialogInfo.id,
|
||||||
})
|
}).then(res => {
|
||||||
.then(res => {
|
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$message.success('新增成功')
|
this.$message.success('提交成功')
|
||||||
this.visible = false
|
this.visible = false
|
||||||
this.getList()
|
this.getList()
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user