删除表格默认id配置
This commit is contained in:
@@ -7,7 +7,7 @@ export const defaultAttribute: VxeTableProps = {
|
|||||||
stripe: true,
|
stripe: true,
|
||||||
size: 'small',
|
size: 'small',
|
||||||
columnConfig: { resizable: true },
|
columnConfig: { resizable: true },
|
||||||
rowConfig: { isCurrent: true, isHover: true,keyField: 'id' },
|
rowConfig: { isCurrent: true, isHover: true },
|
||||||
scrollX: { scrollToLeftOnChange: true },
|
scrollX: { scrollToLeftOnChange: true },
|
||||||
scrollY: { scrollToTopOnChange: true, enabled: true },
|
scrollY: { scrollToTopOnChange: true, enabled: true },
|
||||||
treeConfig: {
|
treeConfig: {
|
||||||
|
|||||||
@@ -16,14 +16,14 @@
|
|||||||
v-for="(item, index) in tableStore.table.column"
|
v-for="(item, index) in tableStore.table.column"
|
||||||
:field="item.field"
|
:field="item.field"
|
||||||
:title="item.title"
|
:title="item.title"
|
||||||
:key="index"
|
:key="index + '-column'"
|
||||||
:min-width="item.width"
|
:min-width="item.width"
|
||||||
show-overflow
|
show-overflow
|
||||||
align="center"
|
align="center"
|
||||||
>
|
>
|
||||||
<Column
|
<Column
|
||||||
:attr="child"
|
:attr="child"
|
||||||
:key="key + '-column'"
|
:key="key + '-column' + '-' + index"
|
||||||
v-for="(child, key) in item.children"
|
v-for="(child, key) in item.children"
|
||||||
:tree-node="child.treeNode"
|
:tree-node="child.treeNode"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -60,7 +60,6 @@ import TableStore from '@/utils/tableStore'
|
|||||||
import Table from '@/components/table/index.vue'
|
import Table from '@/components/table/index.vue'
|
||||||
import TableHeader from '@/components/table/header/index.vue'
|
import TableHeader from '@/components/table/header/index.vue'
|
||||||
import { useDictData } from '@/stores/dictData'
|
import { useDictData } from '@/stores/dictData'
|
||||||
import Area from '@/components/form/area/index.vue'
|
|
||||||
|
|
||||||
defineOptions({
|
defineOptions({
|
||||||
name: 'Operationmanagement/accountinformation'
|
name: 'Operationmanagement/accountinformation'
|
||||||
|
|||||||
Reference in New Issue
Block a user