kmkf-work-order-service-component 0.4.0-alpha.18 → 0.4.0-alpha.19

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.
@@ -142,12 +142,12 @@ var FormRender = function FormRender(props, ref) {
142
142
  useEffect(function () {
143
143
  setShopId(currentShopId);
144
144
 
145
- if (!currentShopId) {
145
+ if (isShowShopList) {
146
146
  getPlatList().then(function (list) {
147
147
  return setPlatIcon(list);
148
148
  });
149
149
  }
150
- }, [currentShopId]);
150
+ }, [currentShopId, isShowShopList]);
151
151
 
152
152
  var _Form$useForm = Form.useForm(),
153
153
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.4.0-alpha.18",
3
+ "version": "0.4.0-alpha.19",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",