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() {
// console.log('确定')
this.instance
.post(`/appbanner/addOrUpdate`, {
imgUrl: this.dialogInfo.imgUrl[0].url,
this.instance.post(`/appbanner/addOrUpdate`, {
imgUrl: this.dialogInfo.imgUrl?.[0]?.url,
linkUrl: this.dialogInfo.linkUrl,
status: this.status,
title: this.dialogInfo.title,
showIndex: this.dialogInfo.showIndex,
id: this.dialogInfo.id,
})
.then(res => {
}).then(res => {
if (res?.code == 0) {
this.$message.success('新增成功')
this.$message.success('提交成功')
this.visible = false
this.getList()
}