ronds-metadata 1.2.48 → 1.2.49

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,7 +37,7 @@ import _regeneratorRuntime from "@babel/runtime/regenerator";
37
37
  /*
38
38
  * @Author:wangxian
39
39
  * @Date: 2021-09-18 14:15:04
40
- * @LastEditTime: 2023-05-16 16:38:08
40
+ * @LastEditTime: 2023-05-17 15:50:09
41
41
  */
42
42
  import React from 'react';
43
43
  import { MetadataFormContext, MetadataRefContext } from '../interface';
@@ -381,7 +381,7 @@ function Index(props) {
381
381
  };
382
382
  var onDropdownVisibleChange = function onDropdownVisibleChange(_open) {
383
383
  setTreeselectOpen(_open);
384
- if (_open && firstLoadTreeSelectRef.current) {
384
+ if (_open) {
385
385
  setTimeout(function () {
386
386
  var _treeRef$current;
387
387
  (_treeRef$current = treeRef.current) === null || _treeRef$current === void 0 ? void 0 : _treeRef$current.scrollTo({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "public": true,
3
3
  "name": "ronds-metadata",
4
- "version": "1.2.48",
4
+ "version": "1.2.49",
5
5
  "scripts": {
6
6
  "start": "dumi dev",
7
7
  "docs:build": "dumi build",