This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
bytedo
/
wcui
Archived
1
0
Fork 0

修复滚动组件一处变量错误

old
宇天 2020-02-02 00:18:28 +08:00
parent b83c247a02
commit 646946399a
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ export default class Scroll {
return this.__BOX__.scrollLeft return this.__BOX__.scrollLeft
} }
set scrollLeft(val) { set scrollLeft(n) {
n = +n n = +n
if (n === n) { if (n === n) {
var { sw, ow, xw } = this.props var { sw, ow, xw } = this.props