@xtdev/xt-miniprogram-ui 1.2.72 → 1.2.73

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.
@@ -30,39 +30,39 @@ Component({
30
30
  properties: {
31
31
  value: {
32
32
  type: [Number, String],
33
- default: 1
33
+ value: 1
34
34
  },
35
35
  min: {
36
36
  type: Number,
37
- default: 0
37
+ value: 0
38
38
  },
39
39
  max: {
40
40
  type: Number,
41
- default: 100
41
+ value: 100
42
42
  },
43
43
  step: {
44
44
  type: Number,
45
- default: 1
45
+ value: 1
46
46
  },
47
47
  background: {
48
48
  type: String,
49
- default: '#fff'
49
+ value: '#fff'
50
50
  },
51
51
  color: {
52
52
  type: String,
53
- default: '#000'
53
+ value: '#000'
54
54
  },
55
55
  disabled: {
56
56
  type: Boolean,
57
- default: false
57
+ value: false
58
58
  },
59
59
  stepTips: {
60
60
  type: String,
61
- default: ''
61
+ value: ''
62
62
  },
63
63
  disableInput: {
64
64
  type: Boolean,
65
- default: false
65
+ value: false
66
66
  }
67
67
  },
68
68
 
@@ -151,8 +151,7 @@ Component({
151
151
  },
152
152
  observers: {
153
153
  value(val) {
154
- const inputValue = this.data.inputValue + val;
155
- this.setData({inputValue});
154
+ this.setData({inputValue: val});
156
155
  }
157
156
  }
158
157
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xtdev/xt-miniprogram-ui",
3
- "version": "1.2.72",
3
+ "version": "1.2.73",
4
4
  "description": "",
5
5
  "miniprogram": "libs",
6
6
  "publishConfig": {