mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-09 01:36:57 +08:00
refactor: tab content
This commit is contained in:
@@ -1232,7 +1232,7 @@ defineExpose({
|
||||
<component
|
||||
:is="findComponent(item.component)"
|
||||
:ref="'shape_component_' + item.id"
|
||||
class="sq-component slot-component dragHandle"
|
||||
class="sq-component slot-component"
|
||||
:class="{ 'sq-component-hidden': item.component !== 'SQTab' }"
|
||||
:config-item="item"
|
||||
:view-info="canvasViewInfo[item.id]"
|
||||
|
||||
@@ -80,7 +80,7 @@ const doDeleteComponent = (e: MouseEvent) => {
|
||||
right: 12px;
|
||||
top: 12px;
|
||||
display: flex;
|
||||
z-index: 1;
|
||||
z-index: 11;
|
||||
cursor: pointer !important;
|
||||
}
|
||||
|
||||
|
||||
@@ -237,6 +237,7 @@ defineExpose({
|
||||
:component-data="tabItem.componentData"
|
||||
:canvas-view-info="canvasViewInfo"
|
||||
:base-matrix-count="tabBaseMatrixCount"
|
||||
:canvas-id="tabItem.name"
|
||||
></SQPreview>
|
||||
<DashboardEditor
|
||||
v-else
|
||||
|
||||
Reference in New Issue
Block a user