dfish-widget 1.0.47 → 1.0.48

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/lib/index.esm.js CHANGED
@@ -6853,7 +6853,7 @@ var script$z = {
6853
6853
  }
6854
6854
  this.$emit('update:modelValue', mv);
6855
6855
  this.trigger(event, mv);
6856
- this.pubParent && this.pubParent.trigger(event, mv);
6856
+ this.parentTrigger('change', mv);
6857
6857
  },
6858
6858
  formVal() {
6859
6859
  return !this.isDisabled && this.isChecked ? this.x.value : ''
@@ -6872,10 +6872,13 @@ var script$z = {
6872
6872
  watchModelValue(v, ov) {
6873
6873
  if (ov != v) {
6874
6874
  this.trigger('change', v);
6875
- if (this.pubParent && this.pubParent.watchValue != v) {
6876
- this.pubParent.watchValue = v;
6877
- this.pubParent.trigger('change', v);
6878
- }
6875
+ this.parentTrigger('change', v);
6876
+ }
6877
+ },
6878
+ parentTrigger(e, v) {
6879
+ if (this.pubParent && this.pubParent.watchValue != v) {
6880
+ this.pubParent.watchValue = v;
6881
+ this.pubParent.trigger(e, v);
6879
6882
  }
6880
6883
  },
6881
6884
  check(a) {
@@ -9016,7 +9019,7 @@ var script$k = {
9016
9019
  },
9017
9020
  data() {
9018
9021
  return {
9019
- watchValue: ''
9022
+ watchValue: null
9020
9023
  }
9021
9024
  },
9022
9025
  methods: {
@@ -9025,6 +9028,9 @@ var script$k = {
9025
9028
  gap: 15
9026
9029
  }
9027
9030
  },
9031
+ watchModelValue(v, ov) {
9032
+ // not do
9033
+ },
9028
9034
  html_form_slot() {
9029
9035
  return this.x.vertical ? h('div', {class: 'w-boxgroup-grid'}, this.$slots) : this.$slots
9030
9036
  },