소스 검색

音频管理 歌手 上下架bug修复

DESKTOP-O04BTUJ\muzen 2 년 전
부모
커밋
7a4aef2488
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 4
      src/views/music/singer/index.vue

+ 1 - 4
src/views/music/singer/index.vue

@@ -141,10 +141,7 @@ export default {
       this.$confirm(`是否${title}${row.name}?`, '提示', {
         type: 'warning'
       }).then(() => {
-        change({
-          id: row.id,
-          status: status
-        }).then(res => {
+        change(row.id, status).then(res => {
           if (res.code === 0) {
             this.$message.success(`${title}成功!`)
             this.getList()