diff --git a/extension.zip b/extension.zip index 85baa9e..77e00e2 100644 Binary files a/extension.zip and b/extension.zip differ diff --git a/manifest/dev.json b/manifest/dev.json index aa541c9..6a3db64 100644 --- a/manifest/dev.json +++ b/manifest/dev.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "AIDOU", - "version": "1.6", + "version": "1.8", "description": "方便搜索表情包并生成图片链接进行斗图", "background": { "scripts": [ diff --git a/manifest/prod.json b/manifest/prod.json index fa1d0f0..06a6cca 100644 --- a/manifest/prod.json +++ b/manifest/prod.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "AIDOU", - "version": "1.7", + "version": "1.8", "description": "方便搜索表情包并生成图片链接进行斗图", "background": { "scripts": [ diff --git a/src/content/components/app-header.vue b/src/content/components/app-header.vue index 5c81f53..5edb93e 100644 --- a/src/content/components/app-header.vue +++ b/src/content/components/app-header.vue @@ -57,12 +57,12 @@ export default { }, btnList () { - const { shuffleSeach, shwoCollect, showConfig, tipText } = this + const { shuffleSearch, shwoCollect, showConfig, tipText } = this return [ { icon: 'icon-shuffle', text: '随便看看', - handler: shuffleSeach + handler: shuffleSearch }, { icon: 'icon-favorite_border', @@ -102,13 +102,14 @@ export default { }) }, - shuffleSeach () { + shuffleSearch () { const { hotWords } = this const keyword = hotWords[(Math.random() * hotWords.length | 0)] if (!keyword) return if (this.hotWord === keyword) { - this.shuffleSeach() + this.shuffleSearch() } + this.syncView = 'search' this.hotWord = keyword this.$emit('fetch-exp', `${keyword}&statref=home_hotword`) },