From 7ca76a53043d64c5754dea4f5b4c59eafb447c54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=91=A8=E5=BB=BA?= <1348660141@qq.com> Date: Sun, 25 Jun 2023 13:34:27 +0800 Subject: [PATCH] =?UTF-8?q?=20=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B?= =?UTF-8?q?=E5=91=BD=E5=90=8D=E5=92=8C=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E9=97=AE=E9=A2=98=EF=BC=8C=E4=BF=AE=E5=A4=8D=E4=B8=80=E4=BA=9B?= =?UTF-8?q?BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Search/src/Search.vue | 8 +- src/components/XTable/src/XTable.vue | 1 - .../components/TagsView/src/TagsView.vue | 2 +- src/locales/en.ts | 4 +- src/store/modules/dict.ts | 2 +- src/store/modules/tagsView.ts | 2 +- src/utils/auth.ts | 4 +- src/views/bpm/processInstance/create.vue | 23 +- src/views/bpm/processInstance/detail.vue | 247 ++++++++---------- src/views/system/role/index.vue | 2 +- src/views/system/role/role.data.ts | 13 +- types/global.d.ts | 12 +- 12 files changed, 149 insertions(+), 171 deletions(-) diff --git a/src/components/Search/src/Search.vue b/src/components/Search/src/Search.vue index 8309c43f..62db714e 100644 --- a/src/components/Search/src/Search.vue +++ b/src/components/Search/src/Search.vue @@ -22,7 +22,7 @@ const props = defineProps({ // 操作按钮风格位置 layout: propTypes.string.validate((v: string) => ['inline', 'bottom'].includes(v)).def('inline'), // 底部按钮的对齐方式 - buttomPosition: propTypes.string + bottomPosition: propTypes.string .validate((v: string) => ['left', 'center', 'right'].includes(v)) .def('center'), showSearch: propTypes.bool.def(true), @@ -85,9 +85,9 @@ const reset = async () => { emit('reset', model) } -const bottonButtonStyle = computed(() => { +const bottomButtonStyle = computed(() => { return { - textAlign: props.buttomPosition as unknown as 'left' | 'center' | 'right' + textAlign: props.bottomPosition as unknown as 'left' | 'center' | 'right' } }) @@ -135,7 +135,7 @@ const setVisible = () => {