mali-applet-ui 1.0.167 → 1.0.169

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.
@@ -104,8 +104,9 @@ export default {
104
104
  this.selectMonth = currVal
105
105
  },
106
106
  loadsChedule () {
107
+ const currMonth = XEUtils.toDateString(this.selectMonth, 'yyyy-MM')
107
108
  if (this.scheduleMethod) {
108
- Promise.resolve(this.scheduleMethod.call(this.currVM, { currMonth: this.selectMonth })).then(rest => {
109
+ Promise.resolve(this.scheduleMethod.call(this.currVM, { currMonth })).then(rest => {
109
110
  if (rest) {
110
111
  const dateMaps = {}
111
112
  rest.forEach(item => {
@@ -122,7 +123,7 @@ export default {
122
123
  }
123
124
  })
124
125
  }
125
- this.$emit('month-change', { currMonth: this.selectMonth })
126
+ this.$emit('month-change', { currMonth })
126
127
  },
127
128
  updateCalendar (date) {
128
129
  if (!date) {
@@ -15,7 +15,7 @@
15
15
  @modelvalue="updateModel">
16
16
  </ml-form-item>
17
17
  </ml-form-group>
18
- <ml-form-item v-else :title="item.title" :field="item.field" :itemRender="item.itemRender" @modelvalue="updateModel"></ml-form-item>
18
+ <ml-form-item v-else :title="item.title" :field="item.field" :labelWidth="item.labelWidth" :itemRender="item.itemRender" @modelvalue="updateModel"></ml-form-item>
19
19
  </view>
20
20
  </slot>
21
21
  </view>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.0.167",
3
+ "version": "1.0.169",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",