更新依赖

This commit is contained in:
lyswhut
2020-04-11 12:33:03 +08:00
parent 4b6a460e69
commit 7431e1e605
3 changed files with 14 additions and 15 deletions
+2 -3
View File
@@ -72,7 +72,7 @@ export default {
}, 1000)
this.saveSearchHistoryList = throttle(n => {
window.electronStore_data.set('searchHistoryList', n)
}, 1000)
}, 500)
},
mounted() {
document.body.classList.add(this.isNt ? 'noTransparent' : 'transparent')
@@ -119,10 +119,9 @@ export default {
},
methods: {
...mapActions(['getVersionInfo']),
...mapMutations(['setNewVersion', 'setVersionModalVisible', 'setDownloadProgress']),
...mapMutations(['setNewVersion', 'setVersionModalVisible', 'setDownloadProgress', 'setSetting']),
...mapMutations('list', ['initList']),
...mapMutations('download', ['updateDownloadList']),
...mapMutations(['setSetting']),
init() {
document.documentElement.style.fontSize = this.windowSizeActive.fontSize