MCPcopy Index your code
hub / github.com/Tencent/kbone / replace

Method replace

packages/miniprogram-render/src/bom/location.js:578–581  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

576 }
577
578 replace(value) {
579 // 和直接赋值 location.href 不同,不需要进入 history
580 this.$_setHrefWithoutEnterHistory(value)
581 }
582
583 toString() {
584 return this.href

Callers 15

$$setHrefWithoutCheckMethod · 0.95
getSimpleHTMLFunction · 0.80
tokenizeFunction · 0.80
parseStartTagFunction · 0.80
wrapChunksFunction · 0.80
applyMethod · 0.80
adjust-css.jsFile · 0.80
location.test.jsFile · 0.80
history.test.jsFile · 0.80
parseMethod · 0.80
toDashFunction · 0.80
toCamelFunction · 0.80

Calls 1

Tested by 1

getSimpleHTMLFunction · 0.64