修复取消任务栏进度条可能导致的bug
parent
d6c7fb8dcc
commit
2ada44a2fc
|
@ -71,7 +71,7 @@ export default {
|
||||||
},
|
},
|
||||||
delayNextTimeout: null,
|
delayNextTimeout: null,
|
||||||
audioErrorTime: 0,
|
audioErrorTime: 0,
|
||||||
// retryNum: 0,
|
retryNum: 0,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
|
|
|
@ -102,6 +102,7 @@ div.scroll(:class="$style.setting")
|
||||||
<script>
|
<script>
|
||||||
import { mapGetters, mapMutations } from 'vuex'
|
import { mapGetters, mapMutations } from 'vuex'
|
||||||
import { openDirInExplorer, openSelectDir, openSaveDir, updateSetting, openUrl } from '../utils'
|
import { openDirInExplorer, openSelectDir, openSaveDir, updateSetting, openUrl } from '../utils'
|
||||||
|
import { rendererSend } from '../../common/icp'
|
||||||
import fs from 'fs'
|
import fs from 'fs'
|
||||||
|
|
||||||
|
|
||||||
|
@ -124,7 +125,7 @@ export default {
|
||||||
isShowAlbumName: true,
|
isShowAlbumName: true,
|
||||||
},
|
},
|
||||||
download: {
|
download: {
|
||||||
savePath: 'C:\\',
|
savePath: '',
|
||||||
fileName: '歌名 - 歌手',
|
fileName: '歌名 - 歌手',
|
||||||
},
|
},
|
||||||
themeId: 0,
|
themeId: 0,
|
||||||
|
@ -187,6 +188,15 @@ export default {
|
||||||
},
|
},
|
||||||
deep: true,
|
deep: true,
|
||||||
},
|
},
|
||||||
|
'current_setting.player.isShowTaskProgess'(n) {
|
||||||
|
if (n) return
|
||||||
|
this.$nextTick(() => {
|
||||||
|
rendererSend('progress', {
|
||||||
|
status: -1,
|
||||||
|
mode: 'normal',
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.init()
|
this.init()
|
||||||
|
|
Loading…
Reference in New Issue