v5.4.2 灾难性程序错误修复

-修复pwa将主题获取请求拦截的重大灾难性事故
-细节优化和修复
This commit is contained in:
tjy-gitnub
2023-06-14 14:16:58 +08:00
parent 2afc151276
commit 9b123e4ffd
3 changed files with 12 additions and 7 deletions
+6 -5
View File
@@ -194,9 +194,9 @@
border-top: none;
border-top-left-radius: 0;
border-top-right-radius: 0;
max-height: 0px;
transition: max-height 300ms,padding 100ms 200ms linear,opacity 200ms 100ms,transform 200ms 200ms;
transform: translateY(-50px);
max-height: 0;
/* transition: max-height 300ms,padding 100ms 200ms linear,opacity 200ms 100ms,transform 200ms 200ms; */
transition: max-height 300ms,padding 300ms 100ms,opacity 200ms;
overflow: hidden;
display: block;
padding: 0 15px;
@@ -209,8 +209,9 @@
.setting-list>div.dp.show {
padding: 10px 15px;
transition: max-height 300ms 100ms,padding 100ms 50ms linear,opacity 200ms 100ms,transform 300ms 50ms;
transform: none;
transition: max-height 300ms,padding 200ms 50ms,opacity 200ms 100ms;
/* transition: max-height 300ms 100ms,padding 100ms 50ms linear,opacity 200ms 100ms,transform 300ms 50ms; */
/* transform: none; */
max-height: 1000px;
/* padding: 10px 15px; */
opacity: 1;
+4
View File
@@ -1061,6 +1061,10 @@
<div class="cnt update">
<h1 class="tit"><span></span>更新记录</h1>
<div style="margin-left: 20px;">
<details><summary><span>v5.4.2</span> 灾难性程序错误修复</summary><p>
&emsp;&emsp;-修复pwa将主题获取请求拦截的重大灾难性事故<br />
&emsp;&emsp;-细节优化和修复</p>
</details>
<details><summary><span>v5.4.1</span> bug修复</summary><p>
&emsp;&emsp;<strong>(更新来自 @tjy-gitnub)</strong><br />
&emsp;&emsp;-修复pwa将动态请求拦截的灾难性事故<br />
+2 -2
View File
@@ -6,7 +6,7 @@ let userdata = {
};
let dongtai=[
'api.github.com',
'tjy-gitnub.io/win12-theme',
'tjy-gitnub.github.io/win12-theme',
'win12server.freehk.svipss.top'
]
this.addEventListener('fetch', function (event) {
@@ -23,7 +23,7 @@ this.addEventListener('fetch', function (event) {
return res ||
fetch(event.request)
.then(responese => {
console.log(event.request);
// console.log(event.request);
const responeseClone = responese.clone();
caches.open('def').then(cache => {
console.log('下载数据', responeseClone.url);