zmdms-webui 2.8.3 → 2.8.4

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.
@@ -8,7 +8,7 @@ import Input from '../input/input.js';
8
8
  import ButtonCom from '../button/button.js';
9
9
  import ModalComponent from '../modal/modal.js';
10
10
 
11
- var countDownMaxTime = 10;
11
+ var countDownMaxTime = 60;
12
12
  var ForgetPassword = function (_a) {
13
13
  var checkUserPhone = _a.checkUserPhone, sendCode = _a.sendCode, submitRequest = _a.submitRequest, open = _a.open, setOpen = _a.setOpen;
14
14
  var form = MemoForm.useForm()[0];
@@ -95,12 +95,11 @@ var ForgetPassword = function (_a) {
95
95
  label: "短信验证码",
96
96
  width: "halfAll",
97
97
  rules: [{ required: true, message: "请输入短信验证码" }],
98
- nextNode: (jsxs(ButtonCom, __assign({ style: {
99
- position: "absolute",
100
- right: 0,
101
- }, type: "primary", onClick: onSendCode }, { children: ["\u53D1\u9001\u9A8C\u8BC1\u7801", countDown < countDownMaxTime ? "(".concat(countDown, "s)") : ""] }))),
98
+ nextNode: (jsxs(ButtonCom, __assign({ type: "primary", style: {
99
+ marginLeft: "10px",
100
+ }, onClick: onSendCode }, { children: ["\u53D1\u9001\u9A8C\u8BC1\u7801", countDown < countDownMaxTime ? "(".concat(countDown, "s)") : ""] }))),
102
101
  render: function (itemProps) {
103
- return jsx(Input, { placeholder: "\u8BF7\u8F93\u5165\u77ED\u4FE1\u9A8C\u8BC1\u7801" });
102
+ return jsx(Input, { autoComplete: "off", placeholder: "\u8BF7\u8F93\u5165\u77ED\u4FE1\u9A8C\u8BC1\u7801" });
104
103
  },
105
104
  },
106
105
  {
@@ -132,7 +131,7 @@ var ForgetPassword = function (_a) {
132
131
  color: "#794808",
133
132
  } }, { children: "\u5BC6\u7801\u5FC5\u987B\u5305\u542B\u5927\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u3001\u7279\u6B8A\u5B57\u7B26\u4E14\u6700\u5C0F\u957F\u5EA6\u4E3A8\uFF0C\u4E14\u4E0D\u80FD\u51FA\u73B0\u8FDE\u7EED\u6570\u5B57\u6216\u5B57\u7B26\uFF0C\u4E0D\u80FD\u51FA\u73B0\u76F8\u540C\u5B57\u7B26\uFF0C\u4E14\u7981\u6B62\u4F7F\u7528\u7528\u6237\u8D26\u53F7\u4F5C\u4E3A\u5BC6\u7801" }))),
134
133
  render: function (itemProps) {
135
- return jsx(Input.Password, { placeholder: "\u8BF7\u8F93\u5165\u65B0\u5BC6\u7801" });
134
+ return (jsx(Input.Password, { autoComplete: "off", placeholder: "\u8BF7\u8F93\u5165\u65B0\u5BC6\u7801" }));
136
135
  },
137
136
  },
138
137
  {
@@ -154,7 +153,7 @@ var ForgetPassword = function (_a) {
154
153
  },
155
154
  ],
156
155
  render: function (itemProps) {
157
- return jsx(Input.Password, { placeholder: "\u786E\u8BA4\u65B0\u5BC6\u7801" });
156
+ return jsx(Input.Password, { autoComplete: "off", placeholder: "\u786E\u8BA4\u65B0\u5BC6\u7801" });
158
157
  },
159
158
  },
160
159
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "2.8.3",
3
+ "version": "2.8.4",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",