|
@@ -189,8 +189,8 @@ export default {
|
|
|
});
|
|
|
});
|
|
|
|
|
|
- if (this.$route.query.id) {
|
|
|
- this.socket.emit("songs.getSong", this.$route.query.id, res => {
|
|
|
+ if (this.$route.query.songId) {
|
|
|
+ this.socket.emit("songs.getSong", this.$route.query.songId, res => {
|
|
|
if (res.status === "success") {
|
|
|
this.edit(res.data);
|
|
|
this.closeModal({ sector: "admin", modal: "viewReport" });
|