mali-applet-ui 1.1.12 → 1.1.13

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.
@@ -111,7 +111,7 @@ export default {
111
111
  this.$emit('click', {})
112
112
  },
113
113
  getSelectRows (value) {
114
- const vals = XEUtils.isArray(value) ? value : [value]
114
+ const vals = XEUtils.isArray(value) ? value : (value ? [value] : [])
115
115
  return vals.map(val => {
116
116
  let item = this.dataList.find(item => val === item[this.optValueField])
117
117
  if (!item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "vue2 码里云小程序组件库",
5
5
  "files": [
6
6
  "lib",