mali-applet-ui 0.2.84 → 0.2.85

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.
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <uni-datetime-picker :class="className" v-model="selectVal" type="datetime" :start="minDate" :end="maxDate" :hide-second="hideSecond" @change="changeEvent" :border="border" :clear-icon="clearable" />
2
+ <uni-datetime-picker :class="className" :value="selectVal" type="datetime" :start="minDate" :end="maxDate" :hide-second="hideSecond" @change="changeEvent" :border="border" :clear-icon="clearable" />
3
3
  </template>
4
4
 
5
5
  <script>
@@ -34,6 +34,7 @@ export default {
34
34
  },
35
35
  methods: {
36
36
  changeEvent (value) {
37
+ this.selectVal = value
37
38
  this.$emit('input', value)
38
39
  this.$emit('change', { value })
39
40
  }
@@ -150,7 +150,6 @@ export default {
150
150
  query
151
151
  .select('.ml-canvas')
152
152
  .boundingClientRect(res => {
153
- debugger
154
153
  const ctx = uni.createCanvasContext(this.canvasId, this)
155
154
  this.ctx = ctx
156
155
  const canvas = new WxCanvas(ctx, this.canvasId);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.2.84",
3
+ "version": "0.2.85",
4
4
  "description": "码里云小程序组件库",
5
5
  "scripts": {
6
6
  "release": "node script/release.js && npm publish"