BUG 27822

This commit is contained in:
aixianling
2022-03-01 15:19:25 +08:00
parent d6201819c1
commit 727d05f861

View File

@@ -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()
} }