mali-applet-ui 0.1.57 → 0.1.59

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.
@@ -98,7 +98,9 @@ export default {
98
98
  }
99
99
  this.loading = false
100
100
  return data
101
- }).catch(() => {
101
+ }).catch((e) => {
102
+ console.error(e)
103
+ console.error(`请检查是否在容器组件 <PageLayout ...> 或 <ViewContainer ...> 下使用`)
102
104
  this.loading = false
103
105
  return []
104
106
  })
@@ -88,7 +88,9 @@ export default {
88
88
  }
89
89
  this.loading = false
90
90
  return data
91
- }).catch(() => {
91
+ }).catch((e) => {
92
+ console.error(e)
93
+ console.error(`请检查是否在容器组件 <PageLayout ...> 或 <ViewContainer ...> 下使用`)
92
94
  this.loading = false
93
95
  return []
94
96
  })
@@ -199,7 +199,7 @@ export default {
199
199
  }
200
200
  return `${column.width}rpx`
201
201
  }
202
- return `${this.colMinWidth}vw`
202
+ return `${this.colMinWidth}%`
203
203
  },
204
204
  getTableHeight () {
205
205
  if (this.height) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mali-applet-ui",
3
- "version": "0.1.57",
3
+ "version": "0.1.59",
4
4
  "description": "码里云小程序组件库",
5
5
  "files": [
6
6
  "components",