Skip to content

Commit 03bf50d

Browse files
YunaiVgitee-org
authored andcommitted
!18 系统管理中id显示序号bug
Merge pull request !18 from 周建/master
2 parents 1c5be6e + dac2006 commit 03bf50d

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

src/views/system/errorCode/errorCode.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export const rules = reactive({
1111
// 新增 + 修改
1212
const crudSchemas = reactive<VxeCrudSchema>({
1313
primaryKey: 'id',
14-
primaryType: 'seq',
14+
primaryType: 'id',
1515
primaryTitle: '编号',
1616
action: true,
1717
columns: [

src/views/system/loginlog/loginLog.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
33
// CrudSchema
44
const crudSchemas = reactive<VxeCrudSchema>({
55
primaryKey: 'id',
6-
primaryType: 'seq',
6+
primaryType: 'id',
77
primaryTitle: '日志编号',
88
action: true,
99
actionWidth: '100px',

src/views/system/notify/message/message.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { VxeCrudSchema } from '@/hooks/web/useVxeCrudSchemas'
44
const crudSchemas = reactive<VxeCrudSchema>({
55
primaryKey: 'id', // 默认的主键ID
66
primaryTitle: '编号', // 默认显示的值
7-
primaryType: 'seq', // 默认为seq,序号模式
7+
primaryType: 'id', // 默认为seq,序号模式
88
action: true,
99
actionWidth: '200', // 3个按钮默认200,如有删减对应增减即可
1010
columns: [

src/views/system/operatelog/operatelog.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化
44

55
const crudSchemas = reactive<VxeCrudSchema>({
66
primaryKey: 'id',
7-
primaryType: 'seq',
7+
primaryType: 'id',
88
primaryTitle: '日志编号',
99
action: true,
1010
actionWidth: '80px',

src/views/system/sensitiveWord/sensitiveWord.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const rules = reactive({
1010
// CrudSchema
1111
const crudSchemas = reactive<VxeCrudSchema>({
1212
primaryKey: 'id',
13-
primaryType: 'seq',
13+
primaryType: 'id',
1414
primaryTitle: '敏感词编号',
1515
action: true,
1616
columns: [

src/views/system/sms/smsChannel/sms.channel.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const rules = reactive({
1212
// CrudSchema
1313
const crudSchemas = reactive<VxeCrudSchema>({
1414
primaryKey: 'id',
15-
primaryType: 'seq',
15+
primaryType: 'id',
1616
primaryTitle: '渠道编号',
1717
action: true,
1818
columns: [

src/views/system/sms/smsLog/sms.log.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { t } = useI18n() // 国际化
44
// CrudSchema
55
const crudSchemas = reactive<VxeCrudSchema>({
66
primaryKey: 'id',
7-
primaryType: 'seq',
7+
primaryType: 'id',
88
primaryTitle: '日志编号',
99
action: true,
1010
columns: [

src/views/system/sms/smsTemplate/sms.template.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const rules = reactive({
1515
// CrudSchema
1616
const crudSchemas = reactive<VxeCrudSchema>({
1717
primaryKey: 'id',
18-
primaryType: 'seq',
18+
primaryType: 'id',
1919
primaryTitle: '模板编号',
2020
action: true,
2121
actionWidth: '280',

src/views/system/tenant/tenant.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export const rules = reactive({
5353
const crudSchemas = reactive<VxeCrudSchema>({
5454
primaryKey: 'id',
5555
primaryTitle: '租户编号',
56-
primaryType: 'seq',
56+
primaryType: 'id',
5757
action: true,
5858
columns: [
5959
{

src/views/system/tenantPackage/tenantPackage.data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const rules = reactive({
1414
// CrudSchema
1515
const crudSchemas = reactive<VxeCrudSchema>({
1616
primaryKey: 'id',
17-
primaryType: 'seq',
17+
primaryType: 'id',
1818
primaryTitle: '套餐编号',
1919
action: true,
2020
columns: [

0 commit comments

Comments
 (0)