MCPcopy Create free account
hub / github.com/Tencent/kbone / $_getOldValues

Method $_getOldValues

packages/miniprogram-render/src/bom/location.js:32–41  ·  view source on GitHub ↗

* 获取 url 中旧的需要进行检测的部分

()

Source from the content-addressed store, hash-verified

30 * 获取 url 中旧的需要进行检测的部分
31 */
32 $_getOldValues() {
33 return {
34 protocol: this.$_protocol,
35 hostname: this.$_hostname,
36 port: this.$_port,
37 pathname: this.$_pathname,
38 search: this.$_search,
39 hash: this.$_hash,
40 }
41 }
42
43 /**
44 * 设置 href,不进入 history

Callers 8

protocolMethod · 0.95
hostMethod · 0.95
hostnameMethod · 0.95
portMethod · 0.95
originMethod · 0.95
pathnameMethod · 0.95
searchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected