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

Method $$startCheckHash

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

* 开始检查 hash 变化

()

Source from the content-addressed store, hash-verified

366 * 开始检查 hash 变化
367 */
368 $$startCheckHash() {
369 if (!this.$_allowCheck) return
370
371 this.$_lastHash = this.$_hash
372 this.$_lastPathname = this.$_pathname
373 this.$_lastSearch = this.$_search
374 this.$_lastHref = this.href
375 }
376
377 /**
378 * 检查 hash 变化

Callers 3

hashMethod · 0.95
goMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected