From a6baca1d999b4dff7b05489416209c21e65fac29 Mon Sep 17 00:00:00 2001 From: tjy-gitnub <2017225905@qq.com> Date: Sun, 6 Nov 2022 12:37:59 +0800 Subject: [PATCH] =?UTF-8?q?v3.0.0=20=E6=A1=8C=E9=9D=A2=E5=9B=BE=E6=A0=87?= =?UTF-8?q?=E3=80=81=E8=AE=B0=E4=BA=8B=E6=9C=AC=E3=80=81=E5=8F=AF=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E5=88=B0=E7=94=B5=E8=84=91=20-=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E5=9C=A8Edge=E3=80=81Chrome=E7=AD=89=E4=B8=BB=E6=B5=81?= =?UTF-8?q?=E6=B5=8F=E8=A7=88=E5=99=A8=E4=B8=AD=E5=B0=86Win12=E5=AE=89?= =?UTF-8?q?=E8=A3=85=E4=B8=BApwa=E5=BA=94=E7=94=A8=20-=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E6=A1=8C=E9=9D=A2=E5=9B=BE=E6=A0=87=EF=BC=8C=E5=B9=B6=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=A1=8C=E9=9D=A2=E5=8F=B3=E9=94=AE=E8=8F=9C=E5=8D=95?= =?UTF-8?q?'=E5=88=B7=E6=96=B0'=E5=8A=9F=E8=83=BD=20-=E5=8F=AF=E4=BB=A5?= =?UTF-8?q?=E5=B0=86=E5=BC=80=E5=A7=8B=E8=8F=9C=E5=8D=95=E5=BA=94=E7=94=A8?= =?UTF-8?q?=E5=8F=B3=E9=94=AE=E6=B7=BB=E5=8A=A0=E5=88=B0=E6=A1=8C=E9=9D=A2?= =?UTF-8?q?=20-=E6=96=B0=E5=A2=9E'=E8=AE=B0=E4=BA=8B=E6=9C=AC'=E5=BA=94?= =?UTF-8?q?=E7=94=A8=20-=E6=96=B0=E7=9A=84=E6=B7=B1=E8=89=B2=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=E5=88=87=E6=8D=A2=E6=8C=89=E9=92=AE=20-=E6=94=B9?= =?UTF-8?q?=E8=BF=9B=E4=BA=86=E7=AA=97=E5=8F=A3=E7=9A=84=E5=A4=96=E8=A7=82?= =?UTF-8?q?=20-=E7=BB=86=E8=8A=82=E4=BC=98=E5=8C=96=E5=92=8C=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- desktop.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b2af278..825abf3 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ 更多功能还在制作之中... ## 在线体验 -[在线预览](https://tjy-gitnub.github.io/win12/start.html) +[在线预览](https://tjy-gitnub.github.io/win12/desktop.html) 有点慢,稍等一下 ## 安装和使用 diff --git a/desktop.js b/desktop.js index 4325737..0e6b3e5 100644 --- a/desktop.js +++ b/desktop.js @@ -369,9 +369,6 @@ navigator.serviceWorker.register('sw.js',{scope:'./'}); navigator.serviceWorker.addEventListener('message', function (e) { if(e.data=='update'){ - $('.msg.update>.main>.tit').html(' ' + $('#win-about>.cnt.update>div>details:first-child>summary').text()); - $('.msg.update>.main>.cont').html($('#win-about>.cnt.update>div>details:first-child>p').html()); - $('#loadbackupdate').css('display','block'); updated=true; if(aftload){ $('.msg.update').addClass('show'); @@ -383,5 +380,8 @@ navigator.serviceWorker.addEventListener('message', function (e) { // v3更新 清除cookie if(document.cookie!=''){ document.cookie='version=3.0.0;expires=Thu, 01 Jan 1970 00:00:00 UTC;'; + $('.msg.update>.main>.tit').html(' ' + $('#win-about>.cnt.update>div>details:first-child>summary').text()); + $('.msg.update>.main>.cont').html($('#win-about>.cnt.update>div>details:first-child>p').html()); + $('#loadbackupdate').css('display','block'); updated=true; } \ No newline at end of file