Netfan
9 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with
9 additions and
3 deletions
-
packages/effects/layouts/src/widgets/preferences/blocks/layout/sidebar.vue
-
packages/locales/src/langs/en-US/preferences.json
-
packages/locales/src/langs/zh-CN/preferences.json
|
|
@ -79,14 +79,14 @@ const handleCheckboxChange = () => { |
|
|
</SwitchItem> |
|
|
</SwitchItem> |
|
|
<CheckboxItem |
|
|
<CheckboxItem |
|
|
:items="[ |
|
|
:items="[ |
|
|
{ label: '收缩按钮', value: 'collapsed' }, |
|
|
{ label: $t('preferences.sidebar.buttonCollapsed'), value: 'collapsed' }, |
|
|
{ label: '固定按钮', value: 'fixed' }, |
|
|
{ label: $t('preferences.sidebar.buttonFixed'), value: 'fixed' }, |
|
|
]" |
|
|
]" |
|
|
multiple |
|
|
multiple |
|
|
v-model="sidebarButtons" |
|
|
v-model="sidebarButtons" |
|
|
:on-btn-click="handleCheckboxChange" |
|
|
:on-btn-click="handleCheckboxChange" |
|
|
> |
|
|
> |
|
|
按钮配置 |
|
|
{{ $t('preferences.sidebar.buttons') }} |
|
|
</CheckboxItem> |
|
|
</CheckboxItem> |
|
|
<NumberFieldItem |
|
|
<NumberFieldItem |
|
|
v-model="sidebarWidth" |
|
|
v-model="sidebarWidth" |
|
|
|
|
|
@ -45,6 +45,9 @@ |
|
|
"fixed": "Fixed" |
|
|
"fixed": "Fixed" |
|
|
}, |
|
|
}, |
|
|
"sidebar": { |
|
|
"sidebar": { |
|
|
|
|
|
"buttons": "Show Buttons", |
|
|
|
|
|
"buttonFixed": "Fixed", |
|
|
|
|
|
"buttonCollapsed": "Collapsed", |
|
|
"title": "Sidebar", |
|
|
"title": "Sidebar", |
|
|
"width": "Width", |
|
|
"width": "Width", |
|
|
"visible": "Show Sidebar", |
|
|
"visible": "Show Sidebar", |
|
|
|
|
|
@ -45,6 +45,9 @@ |
|
|
"fixed": "固定" |
|
|
"fixed": "固定" |
|
|
}, |
|
|
}, |
|
|
"sidebar": { |
|
|
"sidebar": { |
|
|
|
|
|
"buttons": "显示按钮", |
|
|
|
|
|
"buttonFixed": "固定按钮", |
|
|
|
|
|
"buttonCollapsed": "折叠按钮", |
|
|
"title": "侧边栏", |
|
|
"title": "侧边栏", |
|
|
"width": "宽度", |
|
|
"width": "宽度", |
|
|
"visible": "显示侧边栏", |
|
|
"visible": "显示侧边栏", |
|
|
|