Skip to content

Commit b0a5e04

Browse files
author
zjiecode
committed
去掉强制升级
1 parent 6a81c23 commit b0a5e04

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

js/mylib.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,7 @@ function wsConnect(callback) {
135135
if (msg.msgType == WS_MSG_TYPE_UPDATE) {
136136
consoleLog(JSON.stringify(msg))
137137
consoleLog("当前插件版本过低,请升级插件,url=" + msg.url)
138-
clearInterval(heartInterval)
139-
heartInterval = undefined
140-
showNotification(msg.title, msg.content, Date.now()+"");
138+
showNotification(msg.title, msg.content, msg.url);
141139
return;
142140
}
143141
if (msg.msgType == WS_MSG_TYPE_UPSH_NOTIFICATION) {

0 commit comments

Comments
 (0)