Skip to content

Commit 8a1d61c

Browse files
committed
样式调整
1 parent e8203b3 commit 8a1d61c

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sub-store-front-end",
3-
"version": "2.15.15",
3+
"version": "2.15.16",
44
"private": true,
55
"scripts": {
66
"dev": "vite --host",

src/components/NavBar.vue

+1
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ const refresh = async () => {
226226
if (["/subs", "/sync", "/files"].includes(route.path)) {
227227
initStores(true, true, true);
228228
} else {
229+
showNotify({ title: i18n_global("globalNotify.refresh.rePwaing"), type: "primary" });
229230
if ("serviceWorker" in navigator) {
230231
const registrations = await navigator.serviceWorker.getRegistrations();
231232
for (let registration of registrations) {

src/locales/en.ts

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export default {
1919
flowFailed: "Refresh of {name} failed!",
2020
failed: "Refresh Failed\n",
2121
loading: "Refreshing Data...",
22+
rePwaing: 'Resetting PWA cache...',
2223
rePwa: 'PWA cache reset successfully. The page will refresh soon...',
2324
},
2425
},

src/locales/zh.ts

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ export default {
2020
failed: '数据刷新失败\n',
2121
loading: '刷新数据中...',
2222
rePwa: '重置 PWA 缓存成功,即将刷新页面...',
23+
rePwaing: '重置 PWA 缓存中...',
2324
},
2425
share: {
2526
title: '分享',
@@ -429,6 +430,7 @@ export default {
429430
paramsOptions: '操作',
430431
paramsEmpty: '暂无参数数据',
431432
duplicateKeyWarning: '重复的键名',
433+
insecureTips: '开启后,将不对服务器证书进行验证。',
432434
},
433435
'Flag Operator': {
434436
label: '旗帜操作',

src/views/editor/components/Script.vue

+4
Original file line numberDiff line numberDiff line change
@@ -580,6 +580,10 @@ watch(
580580
align-items: center;
581581
margin-top: 16px;
582582
margin-bottom: 8px;
583+
flex-direction: row;
584+
flex-wrap: wrap;
585+
justify-content: space-between;
586+
line-height: 3.5;
583587
.title-label {
584588
display: flex;
585589
align-items: center;

0 commit comments

Comments
 (0)