id显示为序号bug

This commit is contained in:
gexinzhineng/gxzn27 2023-03-14 13:10:31 +08:00
parent c634214213
commit be6e307ba0
5 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,7 @@ export const rules = reactive({
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '表单编号', primaryTitle: '表单编号',
action: true, action: true,
columns: [ columns: [

View File

@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '日志编号', primaryTitle: '日志编号',
action: true, action: true,
actionWidth: '80px', actionWidth: '80px',

View File

@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '日志编号', primaryTitle: '日志编号',
action: true, action: true,
actionWidth: '300', actionWidth: '300',

View File

@ -23,7 +23,7 @@ export const rules = reactive({
// CrudSchema // CrudSchema
const crudSchemas = reactive<VxeCrudSchema>({ const crudSchemas = reactive<VxeCrudSchema>({
primaryKey: 'id', primaryKey: 'id',
primaryType: 'seq', primaryType: 'id',
primaryTitle: '配置编号', primaryTitle: '配置编号',
action: true, action: true,
actionWidth: '400px', actionWidth: '400px',

View File

@ -44,7 +44,7 @@ const [registerTable, { exportList }] = useXTable({
// //
const dialogVisible = ref(false) // const dialogVisible = ref(false) //
const dialogTitle = ref('详情') // const dialogTitle = ref(t('action.detail')) //
const actionType = ref('') // const actionType = ref('') //
// ========== ========== // ========== ==========
const detailData = ref() // Ref const detailData = ref() // Ref