mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 09:17:06 +08:00
style: style update
This commit is contained in:
@@ -1191,9 +1191,11 @@ defineExpose({
|
||||
<component
|
||||
:is="findComponent(item.component)"
|
||||
:ref="'shape_component_' + item.id"
|
||||
class="sql-component slot-component dragHandle"
|
||||
class="sq-component slot-component dragHandle"
|
||||
:class="{ 'sq-component-hidden': item.component !== 'SQTab' }"
|
||||
:config-item="item"
|
||||
:view-info="canvasViewInfo[item.id]"
|
||||
:canvas-view-info="canvasViewInfo"
|
||||
@parent-add-item-box="(subItem: any) => addItemBox(subItem)"
|
||||
>
|
||||
</component>
|
||||
|
||||
@@ -169,7 +169,7 @@ function createNewObject() {}
|
||||
|
||||
// @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
const resourceEdit = (resourceId) => {
|
||||
window.open(`#/canvas?resourceId=${resourceId}`, '_blank')
|
||||
window.open(`#/canvas?resourceId=${resourceId}`, '_self')
|
||||
}
|
||||
|
||||
// @ts-expect-error eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
||||
|
||||
@@ -220,6 +220,7 @@ defineExpose({
|
||||
:ref="'tabEditorRef_' + index"
|
||||
class="tab-dashboard-editor-main"
|
||||
:canvas-component-data="tabItem.componentData"
|
||||
:canvas-view-info="canvasViewInfo"
|
||||
:move-in-active="configItem.moveInActive"
|
||||
:base-matrix-count="tabBaseMatrixCount"
|
||||
:canvas-id="tabItem.name"
|
||||
|
||||
@@ -33,9 +33,12 @@
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.sql-component {
|
||||
.sq-component {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.sq-component-hidden {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user