Преглед изворни кода

xTable查询框前间隔,退出系统按钮点击有时会无法成功

gexinzhineng/gxzn27 пре 2 година
родитељ
комит
23b23f9200

+ 1 - 1
src/components/XTable/src/XTable.vue

@@ -128,7 +128,7 @@ const getColumnsConfig = (options: XTableProps) => {
     proxyForm = true
     options.formConfig = {
       enabled: true,
-      titleWidth: 180,
+      titleWidth: 110,
       titleAlign: 'right',
       items: allSchemas.searchSchema
     }

+ 2 - 2
src/layout/components/UserInfo/src/UserInfo.vue

@@ -66,9 +66,9 @@ const toDocument = () => {
           <Icon icon="ep:menu" />
           <div @click="toDocument">{{ t('common.document') }}</div>
         </ElDropdownItem>
-        <ElDropdownItem divided>
+        <ElDropdownItem divided @click="loginOut">
           <Icon icon="ep:switch-button" />
-          <div @click="loginOut">{{ t('common.loginOut') }}</div>
+          <div>{{ t('common.loginOut') }}</div>
         </ElDropdownItem>
       </ElDropdownMenu>
     </template>