Skip to content

Commit

Permalink
fix interval bug
Browse files Browse the repository at this point in the history
  • Loading branch information
x2rr committed Oct 29, 2020
1 parent c9c0260 commit 650a1c9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@


## 更新说明
### v2.3.1
- 修复一个影响性能的定时任务问题。

### v2.3.0
- 新增独立窗口模式,右击插件图标,选择进入即可。
- 添加手动刷新按钮。
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "choose-funds",
"version": "2.3.0",
"version": "2.3.1",
"description": "A Vue.js web extension",
"author": "LiuRabt",
"license": "GPL-3.0",
Expand Down
7 changes: 7 additions & 0 deletions src/common/changeLog.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@
"tgGroup": "https://t.me/choose_funds_chat",
"qqGroup": "951222618",
"list": [{
"version": "2.3.1",
"type": 1,
"content": [{
"type": 1,
"content": "修复一个影响性能的定时任务问题。"
}]
}, {
"version": "2.3.0",
"type": 2,
"content": [{
Expand Down
2 changes: 2 additions & 0 deletions src/popup/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -709,6 +709,8 @@ export default {
this.detailShadow = false;
},
checkInterval(isFirst) {
clearInterval(this.myVar);
clearInterval(this.myVar1);
chrome.runtime.sendMessage({ type: "DuringDate" }, (response) => {
this.isDuringDate = response.farewell;
if (this.isLiveUpdate && this.isDuringDate) {
Expand Down

0 comments on commit 650a1c9

Please sign in to comment.