From 26d4f0165acc27a32e8d729cbc95b68e6c9a6b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E6=9C=9D=E4=BC=9F?= <2211960668@qq.com> Date: Mon, 30 Oct 2023 16:46:15 +0800 Subject: [PATCH] =?UTF-8?q?listPro=20i18=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- es/components/listPro/index.js | 5 ++++- lib/components/listPro/index.js | 5 ++++- src/components/listPro/index.tsx | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/es/components/listPro/index.js b/es/components/listPro/index.js index 3196c305..9fa7e056 100644 --- a/es/components/listPro/index.js +++ b/es/components/listPro/index.js @@ -34,7 +34,10 @@ const ProList = (props) => { newTableAttributes.unshift({ attribute: { path: '#', - attribute: '', + attribute: { + label: '#', + path: '#', + }, attrType: 'number', attr: '#', entity: entity, diff --git a/lib/components/listPro/index.js b/lib/components/listPro/index.js index 616b609b..275277f7 100644 --- a/lib/components/listPro/index.js +++ b/lib/components/listPro/index.js @@ -38,7 +38,10 @@ const ProList = (props) => { newTableAttributes.unshift({ attribute: { path: '#', - attribute: '', + attribute: { + label: '#', + path: '#', + }, attrType: 'number', attr: '#', entity: entity, diff --git a/src/components/listPro/index.tsx b/src/components/listPro/index.tsx index da1bffa8..a5a0304b 100644 --- a/src/components/listPro/index.tsx +++ b/src/components/listPro/index.tsx @@ -112,7 +112,10 @@ const ProList = (props: Props) => { newTableAttributes.unshift({ attribute: { path: '#', - attribute: '', + attribute: { + label: '#', + path: '#', + }, attrType: 'number', attr: '#', entity: entity as string,