@fonixtree/magic-design 0.0.88 → 0.0.89

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -209,8 +209,8 @@ function CustomTable(props) {
209
209
  dataIndex: 'pageName'
210
210
  }];
211
211
  var rowSelection = {
212
- onChange: function onChange(selectedRowKeys) {
213
- _onChange("customized-" + selectedRowKeys[0]);
212
+ onChange: function onChange(selectedRowKeys, selectedRows) {
213
+ _onChange("customized-" + (selectedRows[0].pageCode || selectedRows[0].bdPageId || ''));
214
214
  },
215
215
  type: 'radio'
216
216
  };
@@ -209,8 +209,8 @@ function CustomTable(props) {
209
209
  dataIndex: 'pageName'
210
210
  }];
211
211
  var rowSelection = {
212
- onChange: function onChange(selectedRowKeys) {
213
- _onChange("customized-" + selectedRowKeys[0]);
212
+ onChange: function onChange(selectedRowKeys, selectedRows) {
213
+ _onChange("customized-" + (selectedRows[0].pageCode || selectedRows[0].bdPageId || ''));
214
214
  },
215
215
  type: 'radio'
216
216
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@fonixtree/magic-design",
3
3
  "author": "Cylon Team",
4
- "version": "0.0.88",
4
+ "version": "0.0.89",
5
5
  "description": "Magic Design",
6
6
  "license": "MIT",
7
7
  "module": "es/index.js",