style(仪表板、数据大屏): 优化tab样式 (#18170)

This commit is contained in:
王嘉豪
2026-03-31 13:54:28 +08:00
committed by wangjiahao
parent 7ff05600fc
commit 2cd9adb59f
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div style="display: flex; width: 100%">
<div class="drag-list">
<div style="flex: 1; min-width: 0">
<draggable :list="config.propValue" animation="300" class="drag-list" @end="onSortChange">
<draggable :list="config.propValue" animation="300" @end="onSortChange">
<template #item="{ element }">
<span
:key="element.name"
@@ -96,10 +96,12 @@ import { deepCopy } from '@/utils/utils'
.drag-list {
overflow: auto;
max-height: 400px;
display: flex;
width: 100%;
}
.item-icon {
height: 30px;
height: 31px;
padding: 2px;
margin: 2px !important;
text-align: left;

View File

@@ -38,9 +38,7 @@ export function imgUrlTrans(url) {
}
function prePareTemplateBaseData(dvId, callback) {
console.log('==test==0')
if (dvInfo.value.type === 'dataV' && canvasStyleData.value.screenAdaptor === 'full') {
console.log('==test==1')
initCanvasDataPrepare(
dvId,
{ busiFlag: 'dataV', resourceTable: 'core' },