meixioacomponent 1.1.40 → 1.1.41
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
|
@@ -126,7 +126,11 @@ export default {
|
|
|
126
126
|
|
|
127
127
|
onChange(currentValue) {
|
|
128
128
|
this.$nextTick(() => {
|
|
129
|
-
if (
|
|
129
|
+
if (currentValue === 0) {
|
|
130
|
+
this.$nextTick(() => {
|
|
131
|
+
this.module = this.$props.min;
|
|
132
|
+
})
|
|
133
|
+
} else if (!currentValue) {
|
|
130
134
|
this.$nextTick(() => {
|
|
131
135
|
this.module = this.$props.defaultValue;
|
|
132
136
|
})
|