修复滚动组件一处变量错误
parent
b83c247a02
commit
646946399a
|
@ -137,7 +137,7 @@ export default class Scroll {
|
|||
return this.__BOX__.scrollLeft
|
||||
}
|
||||
|
||||
set scrollLeft(val) {
|
||||
set scrollLeft(n) {
|
||||
n = +n
|
||||
if (n === n) {
|
||||
var { sw, ow, xw } = this.props
|
||||
|
|
Reference in New Issue