File tree Expand file tree Collapse file tree 3 files changed +26
-3
lines changed
layout/components/UserInfo/src Expand file tree Collapse file tree 3 files changed +26
-3
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ const getColumnsConfig = (options: XTableProps) => {
128
128
proxyForm = true
129
129
options .formConfig = {
130
130
enabled: true ,
131
- titleWidth: 180 ,
131
+ titleWidth: 110 ,
132
132
titleAlign: ' right' ,
133
133
items: allSchemas .searchSchema
134
134
}
Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ const toDocument = () => {
66
66
<Icon icon =" ep:menu" />
67
67
<div @click =" toDocument" >{{ t('common.document') }}</div >
68
68
</ElDropdownItem >
69
- <ElDropdownItem divided >
69
+ <ElDropdownItem divided @click = " loginOut " >
70
70
<Icon icon =" ep:switch-button" />
71
- <div @click = " loginOut " >{{ t('common.loginOut') }}</div >
71
+ <div >{{ t('common.loginOut') }}</div >
72
72
</ElDropdownItem >
73
73
</ElDropdownMenu >
74
74
</template >
Original file line number Diff line number Diff line change
1
+ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
2
+
3
+ // CrudSchema
4
+ const crudSchemas = reactive < VxeCrudSchema > ( {
5
+ primaryKey : 'id' ,
6
+ primaryType : null ,
7
+ action : false ,
8
+ columns : [
9
+ {
10
+ title : '编号' ,
11
+ field : 'id' ,
12
+ table : {
13
+ treeNode : true ,
14
+ align : 'left'
15
+ }
16
+ } ,
17
+ {
18
+ title : '名字' ,
19
+ field : 'name'
20
+ }
21
+ ]
22
+ } )
23
+ export const { allSchemas } = useVxeCrudSchemas ( crudSchemas )
You can’t perform that action at this time.
0 commit comments