mirror of
https://github.com/dataease/dataease.git
synced 2026-06-16 11:21:44 +08:00
style(仪表板、数据大屏): 优化tab样式 (#18170)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user