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