Authored by 李奇

排除异常脚本报错

... ... @@ -267,12 +267,13 @@ Page(Object.assign({
})
setTimeout(function () {
wx.createSelectorQuery().select('.code-list-item-container').boundingClientRect().exec((r) => {
if (r && r[0] && r[0].height) {
animation.height(r[0].height - 65 * sys.screenWidth / 375).step();
this.setData({
animation: animation.export()
});
}
})
})
}.bind(this), 800);
}
});
... ...
... ... @@ -22,7 +22,6 @@ function jumpFn(name, qs) {
url: `${path}?${stringify(qs)}`
};
console.log(`page => ${params.url}`);
wx.navigateTo(params);
}
... ...