Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion packages/common/component/PluginPanel.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ export default {
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;

.plugin-panel-header {
display: flex;
Expand Down
6 changes: 5 additions & 1 deletion packages/plugins/datasource/src/DataSourceRecordList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
:showIfFullScreen="true"
title="静态数据管理"
class="datasource-record-list"
:style="{ marginLeft: leftMargin + 'px' }"
@cancel="closeRecordList"
@save="saveRecordList"
@fullScreenChange="fullScreenChange"
Expand Down Expand Up @@ -106,6 +107,8 @@ import { downloadFn, handleImportedData, overrideOrMergeData, getDataAfterPage }
import DataSourceRecordUpload from './DataSourceRecordUpload.vue'

let isOpen = ref(false)
const { pluginWidth, PLUGIN_NAME } = useLayout()
const leftMargin = computed(() => pluginWidth[PLUGIN_NAME['Datasource']])

export const open = () => {
isOpen.value = true
Expand Down Expand Up @@ -595,7 +598,8 @@ export default {
handleSizeChange,
handleBeforeChange,
overrideData,
mergeData
mergeData,
leftMargin
}
}
}
Expand Down