feat: upgrade tdesign-vue-next (#355)

This commit is contained in:
yuyang 2022-11-16 18:15:06 +08:00 committed by GitHub
parent 5d3cf75fa1
commit e886a98823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View File

@ -28,7 +28,7 @@
"qrcode.vue": "^3.2.2", "qrcode.vue": "^3.2.2",
"qs": "^6.10.5", "qs": "^6.10.5",
"tdesign-icons-vue-next": "^0.1.1", "tdesign-icons-vue-next": "^0.1.1",
"tdesign-vue-next": "^0.24.2", "tdesign-vue-next": "^0.24.7",
"tvision-color": "^1.3.1", "tvision-color": "^1.3.1",
"vue": "^3.2.31", "vue": "^3.2.31",
"vue-clipboard3": "^2.0.0", "vue-clipboard3": "^2.0.0",

View File

@ -48,10 +48,8 @@
<template #icon> <template #icon>
<t-icon class="header-user-avatar" name="user-circle" /> <t-icon class="header-user-avatar" name="user-circle" />
</template> </template>
<div class="header-user-account"> <div class="header-user-account">Tencent</div>
Tencent <template #suffix><t-icon name="chevron-down" /></template>
<t-icon name="chevron-down" />
</div>
</t-button> </t-button>
</t-dropdown> </t-dropdown>
<t-tooltip placement="bottom" content="系统设置"> <t-tooltip placement="bottom" content="系统设置">

View File

@ -116,8 +116,6 @@ export function constructInitDataset({
outArray.push(getRandomArray().toString()); outArray.push(getRandomArray().toString());
} }
// console.log('timeArray..', timeArray);
const dataset = { const dataset = {
color: getChartListColor(), color: getChartListColor(),
tooltip: { tooltip: {

View File

@ -28,4 +28,7 @@ import OutputOverview from './components/OutputOverview.vue';
.row-container:not(:last-child) { .row-container:not(:last-child) {
margin-bottom: 16px; margin-bottom: 16px;
} }
:deep() .t-card__body {
padding-top: 0;
}
</style> </style>

View File

@ -198,6 +198,7 @@ const onMaterialChange = (value: string[]) => {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
padding-top: 0;
} }
&.dark { &.dark {