@cqsjjb/jjb-react-admin-component 3.0.19 → 3.0.20

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.
@@ -148,7 +148,7 @@ function RenderText(props) {
148
148
  setText(value);
149
149
  }
150
150
  }
151
- }, []);
151
+ }, [props.value]);
152
152
  return Array.isArray(text) ? /*#__PURE__*/React.createElement(Spin, {
153
153
  spinning: loading
154
154
  }, /*#__PURE__*/React.createElement("div", {
@@ -205,7 +205,7 @@ function RenderText(props) {
205
205
  setText(value);
206
206
  }
207
207
  }
208
- }, []);
208
+ }, [ props.value ]);
209
209
 
210
210
  return Array.isArray(text)
211
211
  ? (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqsjjb/jjb-react-admin-component",
3
- "version": "3.0.19",
3
+ "version": "3.0.20",
4
4
  "description": "jjb-react-admin-组件库@new",
5
5
  "main": "index.js",
6
6
  "author": "jjb-front-team",