mo 1 年之前
父節點
當前提交
e1427890aa
共有 2 個文件被更改,包括 2 次插入1 次删除
  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 //判断用户是否安装