star-horse-lowcode 2.7.28 → 2.7.29

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/dist/index.es.js CHANGED
@@ -142507,12 +142507,12 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
142507
142507
  const createCode = () => {
142508
142508
  const preps = props.field.preps;
142509
142509
  bwipjs.toCanvas(barcodeRef.value, {
142510
- bcid: preps.bcid ?? "code128",
142510
+ bcid: preps?.bcid ?? "code128",
142511
142511
  text: dataValue.value ?? "none",
142512
- scale: preps.scale ?? 3,
142513
- height: preps.height ?? 10,
142514
- includetext: preps.includeText ? preps.includeText == "Y" : true,
142515
- textxalign: preps.textxAlign ?? "center"
142512
+ scale: preps?.scale ?? 3,
142513
+ height: preps?.height ?? 10,
142514
+ includetext: preps?.includeText ? preps.includeText == "Y" : true,
142515
+ textxalign: preps?.textxAlign ?? "center"
142516
142516
  });
142517
142517
  };
142518
142518
  onMounted(() => {
@@ -142522,7 +142522,7 @@ const _sfc_main$1H = /* @__PURE__ */ defineComponent({
142522
142522
  });
142523
142523
  });
142524
142524
  watch(
142525
- () => dataValue.value,
142525
+ () => [dataValue.value, props.field.preps],
142526
142526
  () => {
142527
142527
  createCode(), allAction(props, emits, formData, "change", false);
142528
142528
  },