Skip to content

Commit

Permalink
🔥 移除无效代码
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaozhu188 committed Sep 6, 2019
1 parent bbcd736 commit a8a6772
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 31 deletions.
7 changes: 0 additions & 7 deletions src/renderer/components/base/notification/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Notification.newInstance = (properties = {}) => {
// 用$el来访问元素,并插入到body中
const notification = instance.$mount().$el
document.body.appendChild(notification)
// console.log(instance)
return {
notice (noticeProps) {
instance.create(noticeProps)
Expand All @@ -17,12 +16,6 @@ Notification.newInstance = (properties = {}) => {
instance.remove(name)
},
component: notification
// destroy (element) {
// notification.closeAll()
// setTimeout(function () {
// document.body.removeChild(document.getElementsByClassName(element)[0])
// }, 500)
// }
}
}

Expand Down
21 changes: 0 additions & 21 deletions src/renderer/views/Download/components/downloaded.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,27 +11,6 @@
</span>
</div>

<!-- 下载目录的歌曲 -->
<!-- <track-list
:columns="columns"
:tracks="localSongs"
:isShowActions="false"
@dblclick="play">
<template slot="time" slot-scope="{ row }" v-if="row.createdAt">
<span>{{ moment(row.createdAt).format('YYYY-MM-DD HH:mm') }}</span>
</template>
<template slot="size" slot-scope="{ row }">
<span>{{ row.size | normalSize }}</span>
</template>
<template slot="actions" slot-scope="{ row }">
<a-icon type="folder" title="打开所在文件夹" @click="openFileInFolder(row)" />
</template>
</track-list> -->
<!-- <ul v-if="localSongs.length">
<li v-for="(song,index) in localSongs" :key="`${song.id}_${index}`">{{index}}-{{song.name}}</li>
</ul>
<div v-else>下载目录没有歌曲</div> -->
<!-- 本地数据库歌曲 -->
<track-list
:columns="columns"
:tracks="downloaded"
Expand Down
3 changes: 0 additions & 3 deletions src/renderer/views/Home/components/dj.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@
},
components: {
djItem
},
mounted () {
console.log(this.list)
}
}
</script>
Expand Down

0 comments on commit a8a6772

Please sign in to comment.