Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 1c99cb0

Browse files
authored
Merge pull request #36 from ediaos/v0.4.0-rmlock
fix detail bdforeRouteUpdate
2 parents 53b0be0 + 662010a commit 1c99cb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/views/Detail.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
beforeRouteUpdate(to, from, next) {
4646
// 一般建议路由变更采用计算属性或者store直接绑定
4747
// 特殊情况处理可以采用如下方案 重新注册数据返回处理
48-
this.fetchData().then(this.fetchDataMounted())
48+
this.fetchData().then(this.fetchDataMounted)
4949
next()
5050
},
5151
destroyed() {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /