mo vor 1 Jahr
Ursprung
Commit
e1427890aa
2 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
  1. 1 1
      dev-dist/sw.js
  2. 1 0
      src/App.tsx

+ 1 - 1
dev-dist/sw.js

@@ -82,7 +82,7 @@ define(['./workbox-5357ef54'], (function (workbox) { 'use strict';
     "revision": "3ca0b8505b4bec776b69afdba2768812"
   }, {
     "url": "index.html",
-    "revision": "0.1iulud48m58"
+    "revision": "0.vp61cl2k08"
   }], {});
   workbox.cleanupOutdatedCaches();
   workbox.registerRoute(new workbox.NavigationRoute(workbox.createHandlerBoundToURL("index.html"), {

+ 1 - 0
src/App.tsx

@@ -82,6 +82,7 @@ export default defineComponent({
       window.open('https://www.google.cn/intl/zh-CN/chrome/');
     };
     const checkInstall = (event: any) => {
+      console.log('checkInstall')
       setTimeout(function () {
         event.prompt()
         event.userChoice //判断用户是否安装