Skip to content

Commit 91b66a5

Browse files
committed
fix(render): broken name link, fixed #167
1 parent 90bba60 commit 91b66a5

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/core/render/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -208,5 +208,6 @@ export function initRender (vm) {
208208
// Polyfll
209209
cssVars(config.themeColor)
210210
}
211+
vm._updateRender()
211212
dom.toggleClass(dom.body, 'ready')
212213
}

src/core/router/index.js

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export function initRouter (vm) {
2323

2424
router.normalize()
2525
lastRoute = vm.route = router.parse()
26-
vm._updateRender()
2726

2827
router.onchange(_ => {
2928
router.normalize()

yarn.lock

+8-8
Original file line numberDiff line numberDiff line change
@@ -1647,25 +1647,25 @@ glob@^5.0.3:
16471647
once "^1.3.0"
16481648
path-is-absolute "^1.0.0"
16491649

1650-
glob@^7.0.0, glob@^7.0.3, glob@^7.0.5:
1651-
version "7.1.1"
1652-
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
1650+
glob@^7.0.0, glob@^7.0.5, glob@^7.1.2:
1651+
version "7.1.2"
1652+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
16531653
dependencies:
16541654
fs.realpath "^1.0.0"
16551655
inflight "^1.0.4"
16561656
inherits "2"
1657-
minimatch "^3.0.2"
1657+
minimatch "^3.0.4"
16581658
once "^1.3.0"
16591659
path-is-absolute "^1.0.0"
16601660

1661-
glob@^7.1.2:
1662-
version "7.1.2"
1663-
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
1661+
glob@^7.0.3:
1662+
version "7.1.1"
1663+
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
16641664
dependencies:
16651665
fs.realpath "^1.0.0"
16661666
inflight "^1.0.4"
16671667
inherits "2"
1668-
minimatch "^3.0.4"
1668+
minimatch "^3.0.2"
16691669
once "^1.3.0"
16701670
path-is-absolute "^1.0.0"
16711671

0 commit comments

Comments
 (0)