zhytech-ui-mobile 1.1.14 → 1.1.16

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/README.md CHANGED
@@ -79,6 +79,16 @@ npm install --legacy-peer-deps
79
79
 
80
80
  > #### 版本更新清单:
81
81
 
82
+ **V 1.1.16**
83
+ ```html
84
+ 1.修复单选组件、评分组件、人员、岗位组件在禁用状态下扔可以取消选择
85
+ ```
86
+
87
+ **V 1.1.15**
88
+ ```html
89
+ 1.修复动态模板中图片组件没有回传parentID问题
90
+ ```
91
+
82
92
  **V 1.1.14**
83
93
  ```html
84
94
  1.修复动态模板中如果标题和组件相同时,保存时出现重复问题
@@ -17685,7 +17685,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
17685
17685
  };
17686
17686
  change({ value: datas.value[props.componentID] });
17687
17687
  const clearCheck = (event, value) => {
17688
- if (componentProps.value.clearable && oldValue === value) {
17688
+ if (!props.disabled && componentProps.value.clearable && oldValue === value) {
17689
17689
  delete datas.value[props.componentID];
17690
17690
  oldValue = void 0;
17691
17691
  const inputKey = `${props.componentID}||${value}`;
@@ -23106,7 +23106,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
23106
23106
  onUnmounted(() => eventBus.off(DYNAMIC_FORM_DEPARTMENT_CHANGE_EVENT, initEmployeeOption));
23107
23107
  let oldValue = datas.value[props.componentID];
23108
23108
  const clearCheck = (event, value) => {
23109
- if (componentProps.value.clearable && oldValue === value) {
23109
+ if (!props.disabled && componentProps.value.clearable && oldValue === value) {
23110
23110
  delete datas.value[props.componentID];
23111
23111
  oldValue = void 0;
23112
23112
  event.preventDefault();
@@ -23445,7 +23445,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23445
23445
  };
23446
23446
  let oldValue = (datas.value[props.componentID] || {}).score;
23447
23447
  const clearCheck = (event, value) => {
23448
- if (componentProps.value.clearable && oldValue === value) {
23448
+ if (!props.disabled && componentProps.value.clearable && oldValue === value) {
23449
23449
  delete datas.value[props.componentID].score;
23450
23450
  oldValue = void 0;
23451
23451
  event.preventDefault();
@@ -23636,7 +23636,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
23636
23636
  };
23637
23637
  let oldValue = datas.value[props.componentID];
23638
23638
  const clearCheck = (event, value) => {
23639
- if (componentProps.value.clearable && oldValue === value) {
23639
+ if (!props.disabled && componentProps.value.clearable && oldValue === value) {
23640
23640
  delete datas.value[props.componentID];
23641
23641
  oldValue = void 0;
23642
23642
  event.preventDefault();
@@ -26684,9 +26684,10 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
26684
26684
  });
26685
26685
  fileList.push({
26686
26686
  sourceType: component.itemSourceType,
26687
- id: componentID,
26688
- pageID: component.props.pageID,
26687
+ pageID,
26689
26688
  groupID,
26689
+ parentID: componentID,
26690
+ id: componentID,
26690
26691
  fileIDs,
26691
26692
  files: addFileList
26692
26693
  });