zhaoy 8 miesięcy temu
rodzic
commit
1ba068ebdc
1 zmienionych plików z 4 dodań i 4 usunięć
  1. +4
    -4
      src/pages/device/productmanage/index.jsx

+ 4
- 4
src/pages/device/productmanage/index.jsx Wyświetl plik

@@ -532,7 +532,7 @@ const handleRemove = async (ids) => {
id="table1"
actionRef={actiontopisRef}
rowKey="id"
pagination={{ defaultPageSize: 10,total:total }}
pagination={{ defaultPageSize: 10 }}
search={{labelWidth: 120}}
columns={topicscolumns}
toolBarRender={() => [
@@ -549,7 +549,7 @@ const handleRemove = async (ids) => {
]}
//数据绑定
dataSource={dataSource}
// dataSource={dataSource}
request={async (params) => {
var data = [];
var total = 0;
@@ -581,11 +581,11 @@ const handleRemove = async (ids) => {
actionRef={actiontopismrRef}
rowKey="id"
search={false}
pagination={{ defaultPageSize: 10,total:total }}
pagination={{ defaultPageSize: 10}}
columns={topicsmrcolumns}
toolBarRender={false}
//数据绑定
dataSource={dataSource}
// dataSource={dataSource}
request={async (params) => {
var data = [];
var total = 0;


Ładowanie…
Anuluj
Zapisz