Skip to content

Commit

Permalink
Vue.js 2.0 対応
Browse files Browse the repository at this point in the history
  • Loading branch information
jkazama committed Oct 1, 2016
1 parent 052f7f6 commit e3099b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"co": "^4.6.0",
"superagent": "^2.2.0",
"lodash": "^4.15.0",
"vue": "^2.0.0-rc.4",
"vue": "^2.0.0",
"jquery": "^2.2.0",
"moment": "^2.14.0",
"bootstrap-sass": "^3.3.0",
Expand Down Expand Up @@ -57,7 +57,7 @@
"template-html-loader": "^0.0.3",
"vinyl-named": "~1.1.0",
"vue-hot-reload-api": "^2.0.0",
"vue-loader": "^9.4.0",
"vue-loader": "^9.5.0",
"webpack": "^1.13.0",
"webpack-stream": "^3.2.0"
}
Expand Down
3 changes: 2 additions & 1 deletion src/js/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const header = new Vue({
},
computed: {
user() {
return this.sessionValue()
let user = this.sessionValue()
return user ? user : {}
}
},
beforeMount() {
Expand Down

0 comments on commit e3099b0

Please sign in to comment.