Skip to content

Commit

Permalink
fix: 修复拼写错误;代码格式化
Browse files Browse the repository at this point in the history
  • Loading branch information
gene9831 committed Mar 5, 2024
1 parent ad9f74c commit 594ba64
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion packages/common/component/MonacoEditor.vue
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,14 @@ export default {
position: fixed;
top: var(--base-top-panel-height);
bottom: 0;
left: calc(var(--base-nav-panel-width)+var(--base-left-panel-width));
left: calc(var(--base-nav-panel-width) + var(--base-left-panel-width));
right: var(--base-left-panel-width);
z-index: 10;
padding: 10px 16px 16px 16px;
background-color: var(--ti-lowcode-common-component-bg);
height: auto !important;
}
.toolbar {
display: flex;
margin-bottom: 4px;
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/data/src/CreateStore.vue
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default {
<style lang="less" scoped>
.store-form {
padding: 12px;
height: calc(100%-45px);
height: calc(100% - 45px);
overflow-y: auto;
.tiny-form-item:not(:last-child) {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/data/src/CreateVariable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<tiny-form-item label="初始值类型" class="var-type-item">
<tiny-radio-group v-model="state.variableType" :options="VAR_TYPES"></tiny-radio-group>
</tiny-form-item>
<tiny-form-item class="monaco-form-item init-value-item">
<tiny-form-item>
<monaco-editor
ref="variableEditor"
class="variable-editor"
Expand Down Expand Up @@ -222,7 +222,7 @@ export default {
})
watch(
() => props.createDate.name,
() => props.createData.name,
() => {
variableEditor.value.switchFullScreen(false)
}
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/data/src/Main.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
:modelValue="Object.keys(state.dataSource)"
:stateScope="activeName"
:query="query"
@openPanel="openPanel"
:selectedKey="selectedKey"
@openPanel="openPanel"
@remove="remove"
@removeStore="removeStore"
/>
Expand Down

0 comments on commit 594ba64

Please sign in to comment.