@hzab/flowlong-designer 1.0.7-beta1 → 1.0.7-beta2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzab/flowlong-designer",
3
- "version": "1.0.7-beta1",
3
+ "version": "1.0.7-beta2",
4
4
  "description": "自定义审批流配置组件",
5
5
  "main": "src",
6
6
  "scripts": {
@@ -123,12 +123,9 @@ export const Approver = (props) => {
123
123
  function onDrawerSave() {
124
124
  signatureConfigurationRef.current.form.validateFields().then((res) => {
125
125
  const { extendConfig = {} }: any = form;
126
- extendConfig["confirmTxt"] = res?.extendConfig?.confirmTxt;
127
- extendConfig["needConfirm"] = res?.extendConfig?.needConfirm;
128
- extendConfig["needSign"] = res?.extendConfig?.needSign;
129
- extendConfig["usePreSign"] = res?.extendConfig?.usePreSign;
130
126
  const newValue = {
131
127
  ...form,
128
+ extendConfig: { ...form?.extendConfig, ...res?.extendConfig },
132
129
  };
133
130
  if (form.setType == "20") {
134
131
  if (!extendConfig?.isChecked) {