@deepinnet-components/pc 0.0.30 → 0.0.32

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.
@@ -118,7 +118,7 @@ var EditPasswordModal = function EditPasswordModal(props) {
118
118
  params.key = key;
119
119
  }
120
120
  _context.next = 11;
121
- return ApiService.getAccountList(params);
121
+ return ApiService.editPassword(params);
122
122
  case 11:
123
123
  _context.next = 13;
124
124
  return _context.sent;
@@ -168,7 +168,7 @@ var AccountList = function AccountList() {
168
168
  title: '操作',
169
169
  dataIndex: 'action',
170
170
  fixed: 'right',
171
- width: 120,
171
+ width: 140,
172
172
  align: 'left',
173
173
  render: function render(_, row) {
174
174
  var operationList = [{
@@ -18,7 +18,7 @@ var Index = function Index(props) {
18
18
  var request = props.request,
19
19
  _props$api = props.api,
20
20
  api = _props$api === void 0 ? {
21
- editPassword: '/admin/account/page',
21
+ editPassword: '/admin/account/changeUserPassword',
22
22
  // 修改密码
23
23
  getAccountList: '/admin/account/page',
24
24
  // 获取账号列表
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deepinnet-components/pc",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",