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", functions: "Functions",
browser: "Browser", browser: "Browser",
linux: "Linux", linux: "Linux",
editWarning: "You are entering edit mode",
viewWarning: "You are entering view mode",
hourTip: "Select Hour", hourTip: "Select Hour",
minuteTip: "Select Minute", minuteTip: "Select Minute",
secondTip: "Select Second", secondTip: "Select Second",

View File

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

View File

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