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