This commit is contained in:
dataeaseShu
2025-07-24 17:51:59 +08:00
4 changed files with 15 additions and 2 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

@@ -1206,7 +1206,7 @@ defineExpose({
<EmptyBackground
v-if="!canvasComponentData.length && isMainCanvas(canvasId)"
:description="t('dashboard.add_component_tips')"
img-type="selectDashboard"
img-type="addComponent"
/>
<template v-if="renderOk">
<CanvasShape
@@ -4,6 +4,7 @@ import nothingInput from '@/assets/img/nothing-input.png'
import nothingSelect from '@/assets/img/nothing-select.png'
import nothingTable from '@/assets/img/nothing-table.png'
import nothingSelectDashboard from '@/assets/img/none-dashboard.png'
import addComponent from '@/assets/img/add_component.png'
import none from '@/assets/img/none.png'
import error from '@/assets/img/error.png'
import nothingTree from '@/assets/img/nothing-tree.png'
@@ -11,7 +12,15 @@ import nothingNone from '@/assets/img/nothing-none.png'
defineProps({
imgType: {
type: String as PropType<
'input' | 'select' | 'table' | 'none' | 'noneWhite' | 'tree' | 'error' | 'selectDashboard'
| 'input'
| 'select'
| 'table'
| 'none'
| 'noneWhite'
| 'tree'
| 'error'
| 'selectDashboard'
| 'addComponent'
>,
default: 'table',
},
@@ -33,6 +42,7 @@ const getAssetsFile = {
selectDashboard: nothingSelectDashboard,
error,
none,
addComponent,
}
</script>
@@ -140,6 +140,9 @@ const emits = defineEmits(['parentAddItemBox'])
width: 100%;
height: 100%;
overflow-y: auto;
:deep(.ed-empty__description) {
width: 240px !important;
}
}
.move-in-active {