From edecfc7116e1587d5ebf29776321760c5e72cc33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=94=E8=B7=91=E7=9A=84=E9=9D=A2=E6=9D=A1?= <1262327911@qq.com> Date: Sat, 1 Oct 2022 17:26:52 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=8E=BB=E9=99=A4=E5=B1=8F=E5=B9=95?= =?UTF-8?q?=E5=A4=A7=E5=B0=8F=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.css | 21 -------------- index.html | 3 -- .../chartHistoryStore/chartHistoryDefine.ts | 29 +++++++++---------- 3 files changed, 14 insertions(+), 39 deletions(-) diff --git a/index.css b/index.css index 2e996bd6..b93daf3b 100644 --- a/index.css +++ b/index.css @@ -82,25 +82,4 @@ to { opacity: 1; } -} - -/* 小屏处理 0~1000*/ -.mobile-terminal { - display: none; -} -@media (max-width: 1000px) { - #app { - display: none; - } - .mobile-terminal { - display: flex; - align-items: center; - justify-content: center; - width: 100vw; - height: 100vh; - text-align: center; - font-size: 24px; - font-weight: 200; - background-image: linear-gradient(to top, #fff1eb 0%, #ace0f9 100%); - } } \ No newline at end of file diff --git a/index.html b/index.html index 344d19d9..49904d92 100644 --- a/index.html +++ b/index.html @@ -24,9 +24,6 @@ -
-

请使用 Web 端进行查看

-
diff --git a/src/store/modules/chartHistoryStore/chartHistoryDefine.ts b/src/store/modules/chartHistoryStore/chartHistoryDefine.ts index 7c38de1b..edb15a3a 100644 --- a/src/store/modules/chartHistoryStore/chartHistoryDefine.ts +++ b/src/store/modules/chartHistoryStore/chartHistoryDefine.ts @@ -1,22 +1,21 @@ import { HistoryTargetTypeEnum, HistoryActionTypeEnum } from './chartHistoryStore.d' export const historyActionTypeName = { - [HistoryActionTypeEnum.ADD]: '新增图表', - [HistoryActionTypeEnum.DELETE]: '删除图表', - [HistoryActionTypeEnum.UPDATE]: '修改属性', - [HistoryActionTypeEnum.MOVE]: '移动图表', - [HistoryActionTypeEnum.PASTE]: '粘贴图表', - [HistoryActionTypeEnum.COPY]: '复制图表', - [HistoryActionTypeEnum.CUT]: '剪切图表', - [HistoryActionTypeEnum.TOP]: '层级置顶', - [HistoryActionTypeEnum.BOTTOM]: '层级置底', - [HistoryActionTypeEnum.UP]: '层级上移', - [HistoryActionTypeEnum.DOWN]: '层级下移', - [HistoryActionTypeEnum.GROUP]: '创建分组', - [HistoryActionTypeEnum.UN_GROUP]: '解除分组', - [HistoryActionTypeEnum.SELECT_HISTORY]: '选择记录', + [HistoryActionTypeEnum.ADD]: '新增', + [HistoryActionTypeEnum.DELETE]: '删除', + [HistoryActionTypeEnum.UPDATE]: '更新', + [HistoryActionTypeEnum.MOVE]: '移动', + [HistoryActionTypeEnum.PASTE]: '粘贴', + [HistoryActionTypeEnum.COPY]: '复制', + [HistoryActionTypeEnum.CUT]: '剪切', + [HistoryActionTypeEnum.TOP]: '置顶', + [HistoryActionTypeEnum.BOTTOM]: '置底', + [HistoryActionTypeEnum.UP]: '上移', + [HistoryActionTypeEnum.DOWN]: '下移', + [HistoryActionTypeEnum.GROUP]: '成组', + [HistoryActionTypeEnum.UN_GROUP]: '解组', [HistoryActionTypeEnum.LOCK]: '锁定', - [HistoryActionTypeEnum.UNLOCK]: '解除锁定', + [HistoryActionTypeEnum.UNLOCK]: '解锁', [HistoryActionTypeEnum.HIDE]: '隐藏', [HistoryActionTypeEnum.SHOW]: '显示',