|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* 对DOM操作的通用函数 |
|
|
|
|
*/ |
|
|
|
|
import $ from "jquery"; |
|
|
|
|
import { each, isEmpty, isNotEmptyObject, isNull } from "../2.base"; |
|
|
|
|
import { each, isEmpty, isNotEmptyObject } from "../2.base"; |
|
|
|
|
import { Widget } from "../4.widget"; |
|
|
|
|
import { isIE } from "./../platform"; |
|
|
|
|
|
|
|
|
@ -116,7 +116,7 @@ export function getScrollWidth(css) {
|
|
|
|
|
|
|
|
|
|
if (hasNoneScrollWidth) { |
|
|
|
|
return 0; |
|
|
|
|
} else if (isNull(_scrollWidthMap[key])) { |
|
|
|
|
} else if (!_scrollWidthMap[key]) { |
|
|
|
|
const ul = Widget._renderEngine |
|
|
|
|
.createElement("<div>") |
|
|
|
|
.width(50) |
|
|
|
|