UNPKG

xe-utils

Version:

JavaScript 函数库、工具类

11 lines (9 loc) • 259 B
import staticLocation from './staticLocation.js';import parseUrl from './parseUrl.js';/** * 获取地址栏信息 * * @return Object */ function locat () { return staticLocation ? parseUrl(staticLocation.href) : {} } export default locat