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