Skip to content

Commit

Permalink
fix:无法收藏歌曲
Browse files Browse the repository at this point in the history
  • Loading branch information
sunzongzheng committed Nov 15, 2017
1 parent dee5097 commit aef6944
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "player",
"version": "1.0.11",
"version": "1.0.12",
"author": "sunzongzheng <[email protected]>",
"description": "An electron-vue project",
"license": "CC0-1.0",
Expand Down
2 changes: 2 additions & 0 deletions src/renderer/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import axios from 'axios'
import ElementUI from 'element-ui'
import VueContextMenu from '@xunlei/vue-context-menu'
import 'element-ui/lib/theme-chalk/index.css'
import Popover from 'element-ui/packages/popover'

import App from './App'
import router from './router'
Expand Down Expand Up @@ -50,6 +51,7 @@ Vue.config.productionTip = false

Vue.ipc = Vue.prototype.$ipc = ipcRenderer

Vue.directive('Popover', Popover)
/* eslint-disable no-new */
new Vue({
components: {App},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</div>
<ul :class="s.list">
<li v-show="add.status">
<input v-model="add.name" ref="input" @blur="save"/>
<input v-model="add.name" ref="input" style="width: 135px;" @blur="save"/>
</li>
<v-item v-for="(item,index) in playlist" :info="item" :key="index"></v-item>
</ul>
Expand Down
4 changes: 1 addition & 3 deletions src/renderer/view/home/components/player/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import playControl from './components/playControl/index.vue'
import playInfo from './components/playInfo/index.vue'
import Popover from 'element-ui/packages/popover'

export default {
components: {playControl, playInfo},
directive: {Popover}
components: {playControl, playInfo}
}

0 comments on commit aef6944

Please sign in to comment.