3 Commits a6cf2ed7f6 ... 5a55aa1349

Autor SHA1 Mensaje Fecha
  dmy 5a55aa1349 build hace 5 años
  dmy 6adb008dc1 build hace 5 años
  dmy 48d4bf0f54 build hace 5 años

+ 39 - 39
_src/pages/index/main.js

@@ -14,8 +14,8 @@ import Toast from '@/components/popup/toast'
 import VueClipboard from 'vue-clipboard2'
 import directive from '@/plugins/directive'
 import TWEEN from '@tweenjs/tween.js'
-import { register } from 'register-service-worker'
-import { MessageBox } from 'element-ui'
+// import { register } from 'register-service-worker'
+// import { MessageBox } from 'element-ui'
 
 Vue.use(Invite, store)
 Vue.use(Avatar, store)
@@ -43,40 +43,40 @@ function animate (time) {
 }
 requestAnimationFrame(animate)
 
-if (process.env.NODE_ENV === 'production') {
-  let updatefound = false
-  register('/sw.js', {
-    ready () {
-      console.log(
-        'App is being served from cache by a service worker.\n' +
-        'For more details, visit https://goo.gl/AFskqB'
-      )
-    },
-    registered () {
-      console.log('Service worker has been registered.')
-    },
-    cached () {
-      console.log('Content has been cached for offline use.')
-    },
-    updatefound () {
-      updatefound = true
-      console.log('New content is downloading.')
-    },
-    updated () {
-      if (updatefound) {
-        MessageBox.confirm('新的内容已更新完毕,立即刷新页面?', '提示', {
-          confirmButtonText: '确定',
-          cancelButtonText: '取消'
-        }).then(() => {
-          location.reload() && window.location.reload()
-        }).catch(() => {})
-      }
-    },
-    offline () {
-      console.log('No internet connection found. App is running in offline mode.')
-    },
-    error (error) {
-      console.error('Error during service worker registration:', error)
-    }
-  })
-}
+// if (process.env.NODE_ENV === 'production') {
+//   let updatefound = false
+//   register('/sw.js', {
+//     ready () {
+//       console.log(
+//         'App is being served from cache by a service worker.\n' +
+//         'For more details, visit https://goo.gl/AFskqB'
+//       )
+//     },
+//     registered () {
+//       console.log('Service worker has been registered.')
+//     },
+//     cached () {
+//       console.log('Content has been cached for offline use.')
+//     },
+//     updatefound () {
+//       updatefound = true
+//       console.log('New content is downloading.')
+//     },
+//     updated () {
+//       if (updatefound) {
+//         MessageBox.confirm('新的内容已更新完毕,立即刷新页面?', '提示', {
+//           confirmButtonText: '确定',
+//           cancelButtonText: '取消'
+//         }).then(() => {
+//           location.reload() && window.location.reload()
+//         }).catch(() => {})
+//       }
+//     },
+//     offline () {
+//       console.log('No internet connection found. App is running in offline mode.')
+//     },
+//     error (error) {
+//       console.error('Error during service worker registration:', error)
+//     }
+//   })
+// }

+ 0 - 0
dist/css/chunk-vendors.51309363.css → dist/css/chunk-vendors.2fc48d69.css


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/js/chunk-common.1e3f5d6a.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/js/index.7d455c2c.js


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
dist/js/index.d012787d.js


+ 45 - 45
dist/precache-manifest.b2cd357df1f8e344c533d961f208ce20.js → dist/precache-manifest.dc334797e9e8d3b115c08aa58556ccad.js

@@ -4,6 +4,10 @@ self.__precacheManifest = [
     "url": "/dist/css/h5.b36a6392.css"
   },
   {
+    "revision": "b6216d61c03e6ce0c9aea6ca7808f7ca",
+    "url": "/dist/robots.txt"
+  },
+  {
     "revision": "a060f53ea02ecdd52835d8b5495a1d48",
     "url": "/dist/sw.js"
   },
@@ -13,134 +17,130 @@ self.__precacheManifest = [
   },
   {
     "revision": "c9365be628588155c4f5",
-    "url": "/dist/css/chunk-2b8be025.904a7013.css"
-  },
-  {
-    "revision": "7f8c088eaeedd24eac3f",
-    "url": "/dist/css/chunk-2c06dfd2.d4c88e50.css"
+    "url": "/dist/js/chunk-2b8be025.77d54cc7.js"
   },
   {
     "revision": "7f8c088eaeedd24eac3f",
     "url": "/dist/js/chunk-2c06dfd2.42bf31dd.js"
   },
   {
-    "revision": "82ec9135d4e285fcbebb",
-    "url": "/dist/css/chunk-2d2f7d98.03d9f0bc.css"
+    "revision": "6dc2cb834b811f7d3de4fddd33d61ec9",
+    "url": "/dist/mini.html"
   },
   {
     "revision": "82ec9135d4e285fcbebb",
     "url": "/dist/js/chunk-2d2f7d98.0b2af375.js"
   },
   {
-    "revision": "6dd0037a4c9e3b411cc4",
-    "url": "/dist/css/chunk-369c7fde.384c55e4.css"
+    "revision": "f555244c922f935bd2c0",
+    "url": "/dist/js/mini.8559ab0f.js"
   },
   {
     "revision": "6dd0037a4c9e3b411cc4",
     "url": "/dist/js/chunk-369c7fde.6979e4fa.js"
   },
   {
-    "revision": "6ef0e07ac4ed0ed7c829",
-    "url": "/dist/css/chunk-4ae53135.0dc1cd14.css"
+    "revision": "9af6c4586eb5866ca094",
+    "url": "/dist/js/index.d012787d.js"
   },
   {
     "revision": "6ef0e07ac4ed0ed7c829",
     "url": "/dist/js/chunk-4ae53135.d7b7a22d.js"
   },
   {
-    "revision": "8e57fdae7d5895cb5460",
-    "url": "/dist/css/chunk-7e7394b2.5e600808.css"
+    "revision": "690a819e868a2e3fc455",
+    "url": "/dist/js/chunk-vendors.f2f92cd6.js"
   },
   {
     "revision": "8e57fdae7d5895cb5460",
     "url": "/dist/js/chunk-7e7394b2.fb8b2bd8.js"
   },
   {
-    "revision": "b34892628e40fbbe3fd4",
-    "url": "/dist/css/chunk-common.52c032e7.css"
+    "revision": "9cdc824560a687ae335f",
+    "url": "/dist/js/chunk-common.1e3f5d6a.js"
   },
   {
-    "revision": "b34892628e40fbbe3fd4",
-    "url": "/dist/js/chunk-common.1ef65115.js"
+    "revision": "0b28333db188e069d1ff4907da0148c6",
+    "url": "/dist/img/bg2.0b28333d.png"
   },
   {
-    "revision": "f2406129476e2df0e552",
-    "url": "/dist/css/chunk-vendors.51309363.css"
+    "revision": "9cdc824560a687ae335f",
+    "url": "/dist/css/chunk-common.52c032e7.css"
   },
   {
-    "revision": "f2406129476e2df0e552",
-    "url": "/dist/js/chunk-vendors.f2f92cd6.js"
+    "revision": "4af8e5e7525bc1a78ca5378ec568a0eb",
+    "url": "/dist/h5.html"
   },
   {
     "revision": "a3852d44377f7f0e48ab",
     "url": "/dist/js/chunk-14b7d1c9.2f3e016a.js"
   },
   {
-    "revision": "c9365be628588155c4f5",
-    "url": "/dist/js/chunk-2b8be025.77d54cc7.js"
+    "revision": "71de928a26b3ba1fe61c933166c7e5ec",
+    "url": "/dist/img/bg.71de928a.jpg"
   },
   {
-    "revision": "19c831a6f107dd77d6a2",
+    "revision": "9af6c4586eb5866ca094",
     "url": "/dist/css/index.271e2a74.css"
   },
   {
-    "revision": "19c831a6f107dd77d6a2",
-    "url": "/dist/js/index.7d455c2c.js"
+    "revision": "6f0a76321d30f3c8120915e57f7bd77e",
+    "url": "/dist/fonts/element-icons.6f0a7632.ttf"
   },
   {
     "revision": "f555244c922f935bd2c0",
     "url": "/dist/css/mini.3313cd72.css"
   },
   {
-    "revision": "f555244c922f935bd2c0",
-    "url": "/dist/js/mini.8559ab0f.js"
+    "revision": "2fad952a20fbbcfd1bf2ebb210dccf7a",
+    "url": "/dist/fonts/element-icons.2fad952a.woff"
   },
   {
     "revision": "eb029f3afb0aa1294ffa0cf0ade29412",
     "url": "/dist/img/bg.eb029f3a.png"
   },
   {
-    "revision": "0b28333db188e069d1ff4907da0148c6",
-    "url": "/dist/img/bg2.0b28333d.png"
+    "revision": "690a819e868a2e3fc455",
+    "url": "/dist/css/chunk-vendors.2fc48d69.css"
   },
   {
-    "revision": "2fad952a20fbbcfd1bf2ebb210dccf7a",
-    "url": "/dist/fonts/element-icons.2fad952a.woff"
+    "revision": "8e57fdae7d5895cb5460",
+    "url": "/dist/css/chunk-7e7394b2.5e600808.css"
   },
   {
-    "revision": "6f0a76321d30f3c8120915e57f7bd77e",
-    "url": "/dist/fonts/element-icons.6f0a7632.ttf"
+    "revision": "6ef0e07ac4ed0ed7c829",
+    "url": "/dist/css/chunk-4ae53135.0dc1cd14.css"
   },
   {
-    "revision": "71de928a26b3ba1fe61c933166c7e5ec",
-    "url": "/dist/img/bg.71de928a.jpg"
+    "revision": "6dd0037a4c9e3b411cc4",
+    "url": "/dist/css/chunk-369c7fde.384c55e4.css"
   },
   {
-    "revision": "b6216d61c03e6ce0c9aea6ca7808f7ca",
-    "url": "/dist/robots.txt"
+    "revision": "82ec9135d4e285fcbebb",
+    "url": "/dist/css/chunk-2d2f7d98.03d9f0bc.css"
   },
   {
-    "revision": "6dc2cb834b811f7d3de4fddd33d61ec9",
-    "url": "/dist/mini.html"
+    "revision": "7f8c088eaeedd24eac3f",
+    "url": "/dist/css/chunk-2c06dfd2.d4c88e50.css"
   },
   {
-    "revision": "4af8e5e7525bc1a78ca5378ec568a0eb",
-    "url": "/dist/h5.html"
+    "revision": "c9365be628588155c4f5",
+    "url": "/dist/css/chunk-2b8be025.904a7013.css"
   },
   {
     "revision": "a3852d44377f7f0e48ab",
     "url": "/dist/css/chunk-14b7d1c9.d3bb9736.css"
   },
   {
-    "revision": "b9747ac23a820c6dded0c78e932fb22c",
+    "revision": "ed11ee36b79716fe264fde7826e1d9c1",
     "url": "/dist/../protected/views/mini.html"
   },
   {
-    "revision": "c89795a010a86b09d29462fcc117f393",
+    "revision": "afa90fa21dfcc3d8f12c0c737d372977",
     "url": "/dist/../protected/views/index.html"
   },
   {
-    "revision": "b63b82aeb84e473e20e182e256676197",
+    "revision": "3d2d98dab74b55f6525b7d173250885f",
     "url": "/dist/../protected/views/h5.html"
   }
 ];

+ 1 - 1
dist/sw.js

@@ -1,4 +1,4 @@
-importScripts("/dist/precache-manifest.b2cd357df1f8e344c533d961f208ce20.js");
+importScripts("/dist/precache-manifest.dc334797e9e8d3b115c08aa58556ccad.js");
 
 
 var workbox=function(){"use strict";try{self.workbox.v["workbox:sw:3.6.3"]=1}catch(t){}const t="https://storage.googleapis.com/workbox-cdn/releases/3.6.3",e={backgroundSync:"background-sync",broadcastUpdate:"broadcast-cache-update",cacheableResponse:"cacheable-response",core:"core",expiration:"cache-expiration",googleAnalytics:"google-analytics",navigationPreload:"navigation-preload",precaching:"precaching",rangeRequests:"range-requests",routing:"routing",strategies:"strategies",streams:"streams"};return new class{constructor(){return this.v={},this.t={debug:"localhost"===self.location.hostname,modulePathPrefix:null,modulePathCb:null},this.e=this.t.debug?"dev":"prod",this.s=!1,new Proxy(this,{get(t,s){if(t[s])return t[s];const o=e[s];return o&&t.loadModule(`workbox-${o}`),t[s]}})}setConfig(t={}){if(this.s)throw new Error("Config must be set before accessing workbox.* modules");Object.assign(this.t,t),this.e=this.t.debug?"dev":"prod"}skipWaiting(){self.addEventListener("install",()=>self.skipWaiting())}clientsClaim(){self.addEventListener("activate",()=>self.clients.claim())}loadModule(t){const e=this.o(t);try{importScripts(e),this.s=!0}catch(s){throw console.error(`Unable to import module '${t}' from '${e}'.`),s}}o(e){if(this.t.modulePathCb)return this.t.modulePathCb(e,this.t.debug);let s=[t];const o=`${e}.${this.e}.js`,r=this.t.modulePathPrefix;return r&&""===(s=r.split("/"))[s.length-1]&&s.splice(s.length-1,1),s.push(o),s.join("/")}}}();

La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
protected/views/h5.html


La diferencia del archivo ha sido suprimido porque es demasiado grande
+ 0 - 0
protected/views/index.html


+ 2 - 2
protected/views/mini.html

@@ -1,3 +1,3 @@
-<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><!--[if IE]><link rel="icon" href="/dist/favicon.ico"><![endif]--><title>MeeChat</title><link href=/dist/css/chunk-common.52c032e7.css rel=preload as=style><link href=/dist/css/chunk-vendors.51309363.css rel=preload as=style><link href=/dist/css/mini.3313cd72.css rel=preload as=style><link href=/dist/js/chunk-common.1ef65115.js rel=preload as=script><link href=/dist/js/chunk-vendors.f2f92cd6.js rel=preload as=script><link href=/dist/js/mini.8559ab0f.js rel=preload as=script><link href=/dist/css/chunk-vendors.51309363.css rel=stylesheet><link href=/dist/css/chunk-common.52c032e7.css rel=stylesheet><link href=/dist/css/mini.3313cd72.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=/dist/dist/img/icons/meechat.png?imageview/0/w/64><link rel=icon type=image/png sizes=16x16 href=/dist/dist/img/icons/meechat.png?imageview/0/w/32><link rel=manifest href=/dist/manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=no><meta name=apple-mobile-web-app-status-bar-style content=default><meta name=apple-mobile-web-app-title content=MeeChat><link rel=apple-touch-icon href=/dist/dist/img/icons/meechat.png?imageview/0/w/152><link rel=mask-icon href=/dist/img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=/dist/dist/img/icons/meechat.png?imageview/0/w/144><meta name=msapplication-TileColor content=#000000></head><body><div id=app></div><script>window.EOS_PROTOCOL = 'https'
+<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><!--[if IE]><link rel="icon" href="/dist/favicon.ico"><![endif]--><title>MeeChat</title><link href=/dist/css/chunk-common.52c032e7.css rel=preload as=style><link href=/dist/css/chunk-vendors.2fc48d69.css rel=preload as=style><link href=/dist/css/mini.3313cd72.css rel=preload as=style><link href=/dist/js/chunk-common.1e3f5d6a.js rel=preload as=script><link href=/dist/js/chunk-vendors.f2f92cd6.js rel=preload as=script><link href=/dist/js/mini.8559ab0f.js rel=preload as=script><link href=/dist/css/chunk-vendors.2fc48d69.css rel=stylesheet><link href=/dist/css/chunk-common.52c032e7.css rel=stylesheet><link href=/dist/css/mini.3313cd72.css rel=stylesheet><link rel=icon type=image/png sizes=32x32 href=/dist/dist/img/icons/meechat.png?imageview/0/w/64><link rel=icon type=image/png sizes=16x16 href=/dist/dist/img/icons/meechat.png?imageview/0/w/32><link rel=manifest href=/dist/manifest.json><meta name=theme-color content=#4DBA87><meta name=apple-mobile-web-app-capable content=no><meta name=apple-mobile-web-app-status-bar-style content=default><meta name=apple-mobile-web-app-title content=MeeChat><link rel=apple-touch-icon href=/dist/dist/img/icons/meechat.png?imageview/0/w/152><link rel=mask-icon href=/dist/img/icons/safari-pinned-tab.svg color=#4DBA87><meta name=msapplication-TileImage content=/dist/dist/img/icons/meechat.png?imageview/0/w/144><meta name=msapplication-TileColor content=#000000></head><body><div id=app></div><script>window.EOS_PROTOCOL = 'https'
       window.EOS_HOST = 'proxy.eosnode.tools'
-      window.EOS_PORT = '443'</script><script src=/dist/js/chunk-vendors.f2f92cd6.js></script><script src=/dist/js/chunk-common.1ef65115.js></script><script src=/dist/js/mini.8559ab0f.js></script></body></html>
+      window.EOS_PORT = '443'</script><script src=/dist/js/chunk-vendors.f2f92cd6.js></script><script src=/dist/js/chunk-common.1e3f5d6a.js></script><script src=/dist/js/mini.8559ab0f.js></script></body></html>

Algunos archivos no se mostraron porque demasiados archivos cambiaron en este cambio