uview-plus 3.1.34 → 3.1.35
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.
package/changelog.md
CHANGED
|
@@ -214,7 +214,7 @@ export default {
|
|
|
214
214
|
},
|
|
215
215
|
// 设置整体各列的columns的值
|
|
216
216
|
setColumns(columns) {
|
|
217
|
-
console.log(columns)
|
|
217
|
+
// console.log(columns)
|
|
218
218
|
this.innerColumns = uni.$u.deepClone(columns)
|
|
219
219
|
// 如果在设置各列数据时,没有被设置默认的各列索引defaultIndex,那么用0去填充它,数组长度为列的数量
|
|
220
220
|
if (this.innerIndex.length === 0) {
|
|
@@ -199,6 +199,10 @@ function statusChange(newValue, oldValue, ownerInstance, instance) {
|
|
|
199
199
|
function sizeChange(newValue, oldValue, ownerInstance, instance) {
|
|
200
200
|
// wxs内的局部变量快照
|
|
201
201
|
var state = instance.getState()
|
|
202
|
+
// 临时防止nv_disabled报错
|
|
203
|
+
if (!state || !newValue) {
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
202
206
|
state.disabled = newValue.disabled
|
|
203
207
|
state.duration = newValue.duration
|
|
204
208
|
state.show = newValue.show
|