BUG 27825

This commit is contained in:
aixianling
2022-03-01 15:23:02 +08:00
parent 8936a026df
commit 57a9d329ba

View File

@@ -233,10 +233,10 @@ export default {
// 发布/取消发布
release(row) {
this.$confirm('确定此操作?').then(() => {
var status = row.status == 1 ? '0' : '1'
this.instance.post(`/appbanner/setStatus?id=${row.id}&status=${status}`)
.then((res) => {
let status = row.status == 1 ? '0' : '1'
this.instance.post(`/appbanner/setStatus?id=${row.id}&status=${status}`).then((res) => {
if (res?.code == 0) {
this.$message.success("操作成功!")
this.getList()
}
})