1
This commit is contained in:
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/locat.js
Normal file
14
20220330_Vote/Ewide.Web.Entry/wwwroot/lib/xe-utils/locat.js
Normal file
@@ -0,0 +1,14 @@
|
||||
var staticLocation = require('./staticLocation')
|
||||
|
||||
var parseUrl = require('./parseUrl')
|
||||
|
||||
/**
|
||||
* 获取地址栏信息
|
||||
*
|
||||
* @return Object
|
||||
*/
|
||||
function locat () {
|
||||
return staticLocation ? parseUrl(staticLocation.href) : {}
|
||||
}
|
||||
|
||||
module.exports = locat
|
||||
Reference in New Issue
Block a user