Skip to content

Commit

Permalink
feat(toolbars): 头部工具栏改造,导出toolbar公共组件
Browse files Browse the repository at this point in the history
  • Loading branch information
betterdancing committed Sep 18, 2024
1 parent 612adc0 commit bedd71c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/design-core/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export { default as Robot } from '@opentiny/tiny-engine-plugin-robot'
export { default as Props, PropertiesService, PropertyService } from '@opentiny/tiny-engine-setting-props'
export { default as Events } from '@opentiny/tiny-engine-setting-events'
export { default as Styles } from '@opentiny/tiny-engine-setting-styles'
export { default as Layout, LayoutService } from '@opentiny/tiny-engine-layout'
export { default as Layout, ToolbarBaseComponent, LayoutService } from '@opentiny/tiny-engine-layout'
export { default as Canvas } from '@opentiny/tiny-engine-canvas'
export { initPreview } from './src/preview/src/main'
export { GenerateCodeService, PluginPanel } from '@opentiny/tiny-engine-common'
Expand Down
1 change: 1 addition & 0 deletions packages/layout/src/DesignToolbars.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default {
}
.toolbar-left,
.toolbar-center,
.toolbar-right {
:deep(.icon) {
display: inline-flex;
Expand Down
4 changes: 3 additions & 1 deletion packages/toolbars/preview/meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ export default {
},
align: 'right',
renderType: 'icon',
options: {}
options: {
useDefaultClass: true
}
}

0 comments on commit bedd71c

Please sign in to comment.