zmdms-webui 0.0.172 → 0.0.173

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.
@@ -122,7 +122,10 @@ MemoForm.useForm = function () {
122
122
  return __generator(this, function (_a) {
123
123
  return [2 /*return*/, validateFields(nameList).catch(function (err) {
124
124
  try {
125
- form.scrollToField(err === null || err === void 0 ? void 0 : err.errorFields[0].name[0]);
125
+ form.scrollToField(err === null || err === void 0 ? void 0 : err.errorFields[0].name[0], {
126
+ block: "center",
127
+ inline: "center",
128
+ });
126
129
  }
127
130
  catch (err) {
128
131
  console.log("滚动报错");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zmdms-webui",
3
- "version": "0.0.172",
3
+ "version": "0.0.173",
4
4
  "private": false,
5
5
  "main": "dist/index.es.js",
6
6
  "module": "dist/index.es.js",