Skip to content

Commit

Permalink
fix(render): broken name link, fixed #167
Browse files Browse the repository at this point in the history
  • Loading branch information
QingWei-Li committed May 31, 2017
1 parent 90bba60 commit 91b66a5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
1 change: 1 addition & 0 deletions src/core/render/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -208,5 +208,6 @@ export function initRender (vm) {
// Polyfll
cssVars(config.themeColor)
}
vm._updateRender()
dom.toggleClass(dom.body, 'ready')
}
1 change: 0 additions & 1 deletion src/core/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ export function initRouter (vm) {

router.normalize()
lastRoute = vm.route = router.parse()
vm._updateRender()

router.onchange(_ => {
router.normalize()
Expand Down
16 changes: 8 additions & 8 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1647,25 +1647,25 @@ glob@^5.0.3:
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.0.0, glob@^7.0.3, glob@^7.0.5:
version "7.1.1"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
glob@^7.0.0, glob@^7.0.5, glob@^7.1.2:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.2"
minimatch "^3.0.4"
once "^1.3.0"
path-is-absolute "^1.0.0"

glob@^7.1.2:
version "7.1.2"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
glob@^7.0.3:
version "7.1.1"
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.1.tgz#805211df04faaf1c63a3600306cdf5ade50b2ec8"
dependencies:
fs.realpath "^1.0.0"
inflight "^1.0.4"
inherits "2"
minimatch "^3.0.4"
minimatch "^3.0.2"
once "^1.3.0"
path-is-absolute "^1.0.0"

Expand Down

0 comments on commit 91b66a5

Please sign in to comment.