From e886a98823dc658384774c6d055653c3486b7598 Mon Sep 17 00:00:00 2001 From: yuyang Date: Wed, 16 Nov 2022 18:15:06 +0800 Subject: [PATCH] feat: upgrade tdesign-vue-next (#355) --- package.json | 2 +- src/layouts/components/Header.vue | 6 ++---- src/pages/dashboard/base/index.ts | 2 -- src/pages/dashboard/base/index.vue | 3 +++ src/pages/dashboard/detail/index.vue | 1 + 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 9f514a6..916b22a 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "qrcode.vue": "^3.2.2", "qs": "^6.10.5", "tdesign-icons-vue-next": "^0.1.1", - "tdesign-vue-next": "^0.24.2", + "tdesign-vue-next": "^0.24.7", "tvision-color": "^1.3.1", "vue": "^3.2.31", "vue-clipboard3": "^2.0.0", diff --git a/src/layouts/components/Header.vue b/src/layouts/components/Header.vue index 7f70edc..2803570 100644 --- a/src/layouts/components/Header.vue +++ b/src/layouts/components/Header.vue @@ -48,10 +48,8 @@ -
- Tencent - -
+
Tencent
+ diff --git a/src/pages/dashboard/base/index.ts b/src/pages/dashboard/base/index.ts index c45e3d1..c724502 100644 --- a/src/pages/dashboard/base/index.ts +++ b/src/pages/dashboard/base/index.ts @@ -116,8 +116,6 @@ export function constructInitDataset({ outArray.push(getRandomArray().toString()); } - // console.log('timeArray..', timeArray); - const dataset = { color: getChartListColor(), tooltip: { diff --git a/src/pages/dashboard/base/index.vue b/src/pages/dashboard/base/index.vue index 89bc085..5849e6d 100644 --- a/src/pages/dashboard/base/index.vue +++ b/src/pages/dashboard/base/index.vue @@ -28,4 +28,7 @@ import OutputOverview from './components/OutputOverview.vue'; .row-container:not(:last-child) { margin-bottom: 16px; } +:deep() .t-card__body { + padding-top: 0; +} diff --git a/src/pages/dashboard/detail/index.vue b/src/pages/dashboard/detail/index.vue index 1cebdc4..4a90b39 100644 --- a/src/pages/dashboard/detail/index.vue +++ b/src/pages/dashboard/detail/index.vue @@ -198,6 +198,7 @@ const onMaterialChange = (value: string[]) => { display: flex; flex-direction: column; justify-content: space-between; + padding-top: 0; } &.dark {