update content

This commit is contained in:
Qiuxia Fan 2022-03-21 19:24:48 +08:00
parent 7df1e9dc92
commit 983ba14ba2
3 changed files with 6 additions and 2 deletions

View File

@ -119,6 +119,8 @@ const msg = {
functions: "Functions",
browser: "Browser",
linux: "Linux",
editWarning: "You are entering edit mode",
viewWarning: "You are entering view mode",
hourTip: "Select Hour",
minuteTip: "Select Minute",
secondTip: "Select Second",

View File

@ -119,6 +119,8 @@ const msg = {
functions: "Functions",
linux: "Linux",
browser: "浏览器",
editWarning: "你正在进入编辑模式",
viewWarning: "你正在进入预览模式",
hourTip: "选择小时",
minuteTip: "选择分钟",
secondTip: "选择秒数",

View File

@ -305,10 +305,10 @@ function changePods(pod: any) {
function changeMode() {
if (dashboardStore.editMode) {
ElMessage.warning("You enter edit mode");
ElMessage.warning(t("editWarning"));
return;
}
ElMessage.warning("You enter view mode");
ElMessage.warning(t("viewWarning"));
}
function clickIcons(t: { id: string; content: string; name: string }) {