更新依赖

pull/225/head
lyswhut 2020-04-11 12:33:03 +08:00
parent 4b6a460e69
commit 7431e1e605
3 changed files with 14 additions and 15 deletions

18
package-lock.json generated
View File

@ -4355,9 +4355,9 @@
} }
}, },
"core-js": { "core-js": {
"version": "3.6.4", "version": "3.6.5",
"resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.4.tgz", "resolved": "https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz",
"integrity": "sha512-4paDGScNgZP2IXXilaffL9X7968RuvwlkK3xWtZRVqgd8SYNiVKRJvkFd1aqqEuPfN7E68ZHEp9hDj6lHj4Hyw==", "integrity": "sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA==",
"dev": true "dev": true
}, },
"core-js-compat": { "core-js-compat": {
@ -4559,9 +4559,9 @@
} }
}, },
"css-loader": { "css-loader": {
"version": "3.5.1", "version": "3.5.2",
"resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.5.1.tgz", "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-3.5.2.tgz",
"integrity": "sha512-0G4CbcZzQ9D1Q6ndOfjFuMDo8uLYMu5vc9Abs5ztyHcKvmil6GJrMiNjzzi3tQvUF+mVRuDg7bE6Oc0Prolgig==", "integrity": "sha512-hDL0DPopg6zQQSRlZm0hyeaqIRnL0wbWjay9BZxoiJBpbfOW4WHfbaYQhwnDmEa0kZUc1CJ3IFo15ot1yULMIQ==",
"dev": true, "dev": true,
"requires": { "requires": {
"camelcase": "^5.3.1", "camelcase": "^5.3.1",
@ -13674,9 +13674,9 @@
} }
}, },
"html-webpack-plugin": { "html-webpack-plugin": {
"version": "4.0.4", "version": "4.2.0",
"resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.0.4.tgz", "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.2.0.tgz",
"integrity": "sha512-BREQzUbFfIQS39KqxkT2L1Ot0tuu1isako1CaCQLrgEQ43zi2ScHAe3SMTnVBWsStnIsGtl8jprDdxwZkNhrwQ==", "integrity": "sha512-zL7LYTuq/fcJX6vV6tmmvFR508Bd9e6kvVGbS76YAjZ2CPVRzsjkvDYs/SshPevpolSdTWgaDV39D6k6oQoVFw==",
"dev": true, "dev": true,
"requires": { "requires": {
"@types/html-minifier-terser": "^5.0.0", "@types/html-minifier-terser": "^5.0.0",

View File

@ -155,10 +155,10 @@
"chalk": "^4.0.0", "chalk": "^4.0.0",
"changelog-parser": "^2.8.0", "changelog-parser": "^2.8.0",
"copy-webpack-plugin": "^5.1.1", "copy-webpack-plugin": "^5.1.1",
"core-js": "^3.6.4", "core-js": "^3.6.5",
"cos-nodejs-sdk-v5": "^2.5.20", "cos-nodejs-sdk-v5": "^2.5.20",
"cross-env": "^7.0.2", "cross-env": "^7.0.2",
"css-loader": "^3.5.1", "css-loader": "^3.5.2",
"del": "^5.1.0", "del": "^5.1.0",
"electron": "^8.2.1", "electron": "^8.2.1",
"electron-builder": "^22.4.1", "electron-builder": "^22.4.1",
@ -175,7 +175,7 @@
"eslint-plugin-standard": "^4.0.1", "eslint-plugin-standard": "^4.0.1",
"file-loader": "^6.0.0", "file-loader": "^6.0.0",
"friendly-errors-webpack-plugin": "^1.7.0", "friendly-errors-webpack-plugin": "^1.7.0",
"html-webpack-plugin": "^4.0.4", "html-webpack-plugin": "^4.2.0",
"less": "^3.11.1", "less": "^3.11.1",
"less-loader": "^5.0.0", "less-loader": "^5.0.0",
"markdown-it": "^10.0.0", "markdown-it": "^10.0.0",

View File

@ -72,7 +72,7 @@ export default {
}, 1000) }, 1000)
this.saveSearchHistoryList = throttle(n => { this.saveSearchHistoryList = throttle(n => {
window.electronStore_data.set('searchHistoryList', n) window.electronStore_data.set('searchHistoryList', n)
}, 1000) }, 500)
}, },
mounted() { mounted() {
document.body.classList.add(this.isNt ? 'noTransparent' : 'transparent') document.body.classList.add(this.isNt ? 'noTransparent' : 'transparent')
@ -119,10 +119,9 @@ export default {
}, },
methods: { methods: {
...mapActions(['getVersionInfo']), ...mapActions(['getVersionInfo']),
...mapMutations(['setNewVersion', 'setVersionModalVisible', 'setDownloadProgress']), ...mapMutations(['setNewVersion', 'setVersionModalVisible', 'setDownloadProgress', 'setSetting']),
...mapMutations('list', ['initList']), ...mapMutations('list', ['initList']),
...mapMutations('download', ['updateDownloadList']), ...mapMutations('download', ['updateDownloadList']),
...mapMutations(['setSetting']),
init() { init() {
document.documentElement.style.fontSize = this.windowSizeActive.fontSize document.documentElement.style.fontSize = this.windowSizeActive.fontSize