BUG 27822
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user