zhaoy 8 months ago
parent
commit
1ba068ebdc
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      src/pages/device/productmanage/index.jsx

+ 4
- 4
src/pages/device/productmanage/index.jsx View File

@@ -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;


Loading…
Cancel
Save