增加升级完后刷新浏览器或者清空缓存的提示
This commit is contained in:
parent
61b3766012
commit
bb438b9eec
|
@ -202,7 +202,15 @@ export default defineComponent({
|
||||||
: uploader_rootfs.value;
|
: uploader_rootfs.value;
|
||||||
$q.dialog({
|
$q.dialog({
|
||||||
title: $t.t("Confirm"),
|
title: $t.t("Confirm"),
|
||||||
message: $t.t("use this file to upgrade") + "?",
|
message:
|
||||||
|
$t.t("Confirm") +
|
||||||
|
$t.t(" ") +
|
||||||
|
$t.t("use this file to upgrade") +
|
||||||
|
"?" +
|
||||||
|
$t.t(" ") +
|
||||||
|
$t.t(
|
||||||
|
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)"
|
||||||
|
),
|
||||||
ok: {
|
ok: {
|
||||||
label: $t.t("ok"),
|
label: $t.t("ok"),
|
||||||
noCaps: true,
|
noCaps: true,
|
||||||
|
@ -246,6 +254,15 @@ export default defineComponent({
|
||||||
position: "top",
|
position: "top",
|
||||||
timeout: 1500,
|
timeout: 1500,
|
||||||
});
|
});
|
||||||
|
$q.notify({
|
||||||
|
type: "positive",
|
||||||
|
icon: "done",
|
||||||
|
message: $t.t(
|
||||||
|
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)"
|
||||||
|
),
|
||||||
|
position: "top",
|
||||||
|
timeout: 3000,
|
||||||
|
});
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
window.location.reload();
|
window.location.reload();
|
||||||
}, 2000);
|
}, 2000);
|
||||||
|
|
|
@ -499,8 +499,11 @@ export default {
|
||||||
"fusion out": "Out",
|
"fusion out": "Out",
|
||||||
"Please enter the square number": "Please enter the square number",
|
"Please enter the square number": "Please enter the square number",
|
||||||
"Change projector layout": "Change projector layout",
|
"Change projector layout": "Change projector layout",
|
||||||
"reset all":"reset all",
|
"reset all": "reset all",
|
||||||
"Do you confirm the modification":"Do you confirm the modification",
|
"Do you confirm the modification": "Do you confirm the modification",
|
||||||
"Whether to modify the resolution to":"Whether to modify the resolution to",
|
"Whether to modify the resolution to": "Whether to modify the resolution to",
|
||||||
"Whether to change the projector layout to":"Whether to change the projector layout to"
|
"Whether to change the projector layout to":
|
||||||
|
"Whether to change the projector layout to",
|
||||||
|
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)":
|
||||||
|
"After Upgrade, Please Clear Browser Cache Or Refresh Hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)",
|
||||||
};
|
};
|
||||||
|
|
|
@ -764,10 +764,12 @@ export default {
|
||||||
product: "产品",
|
product: "产品",
|
||||||
normal: "普通",
|
normal: "普通",
|
||||||
"fusion out": "出",
|
"fusion out": "出",
|
||||||
"Please enter the square number":"请输入平方数",
|
"Please enter the square number": "请输入平方数",
|
||||||
"Change projector layout":"更改投影机布局",
|
"Change projector layout": "更改投影机布局",
|
||||||
"reset all":"重置所有",
|
"reset all": "重置所有",
|
||||||
"Do you confirm the modification":"是否确认修改",
|
"Do you confirm the modification": "是否确认修改",
|
||||||
"Whether to modify the resolution to":"是否将分辨率修改到",
|
"Whether to modify the resolution to": "是否将分辨率修改到",
|
||||||
"Whether to change the projector layout to":"是否更改投影机布局为"
|
"Whether to change the projector layout to": "是否更改投影机布局为",
|
||||||
|
"after upgrade, please clear browser cache Or refresh hard (Ctrl/Shift + F5 Or Ctrl + Shift + R)":
|
||||||
|
"升级完成后请清空浏览器缓存或者进行硬刷新(Ctrl/Shift + F5 或者 CTRL + SHIFT + R)",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue