kmkf-work-order-service-component 0.4.0-alpha.13 → 0.4.0-alpha.14

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.
@@ -683,17 +683,23 @@ var FormRender = function FormRender(props, ref) {
683
683
  }), /*#__PURE__*/_jsxs(Form, _objectSpread(_objectSpread({
684
684
  form: form
685
685
  }, formProps), {}, {
686
- children: [!templateId && /*#__PURE__*/_jsx(Form.Item, {
687
- label: "\u6A21\u677F\u540D\u79F0",
688
- required: true,
689
- children: /*#__PURE__*/_jsx(Cascader, {
690
- options: templateList,
691
- placeholder: "\u8BF7\u9009\u62E9\u6A21\u7248",
692
- showSearch: true,
693
- value: templateIdState,
694
- onChange: handleChangeTemplateId,
695
- allowClear: false,
696
- className: "templateCascader"
686
+ children: [!templateId && /*#__PURE__*/_jsx("div", {
687
+ id: "templateCascader",
688
+ className: "templateCascader",
689
+ children: /*#__PURE__*/_jsx(Form.Item, {
690
+ label: "\u6A21\u677F\u540D\u79F0",
691
+ required: true,
692
+ children: /*#__PURE__*/_jsx(Cascader, {
693
+ options: templateList,
694
+ placeholder: "\u8BF7\u9009\u62E9\u6A21\u7248",
695
+ showSearch: true,
696
+ value: templateIdState,
697
+ onChange: handleChangeTemplateId,
698
+ allowClear: false,
699
+ getPopupContainer: function getPopupContainer() {
700
+ return document.getElementById('templateCascader');
701
+ }
702
+ })
697
703
  })
698
704
  }), isShowShopList && /*#__PURE__*/_jsx(ShopName, {
699
705
  shopList: shopList,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.4.0-alpha.13",
3
+ "version": "0.4.0-alpha.14",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",