zhengnaiwen_citu 6 月之前
父节点
当前提交
88983d9675
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      src/update.js

+ 1 - 2
src/update.js

@@ -46,9 +46,8 @@ const DURATION = 2000
 export default function autoRefresh () {
   setTimeout(async () => {
     const willUpdate = await needUpdate()
-    console.log(willUpdate)
     if (willUpdate) {
-      const result = confirm('检测到有新的脚本,是否刷新页面?')
+      const result = confirm('检测到有版本更新,是否刷新页面?')
       if (result) {
         location.reload()
       }