Akryum / Akryum/vue-router-multi-view
activated / deactivated functions are triggered much time when changing route
- 主要語言
- JavaScript
- 星號
- 86
- 分支
- 9
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Hi there,
Thank you for good repo. Now I have an error like above title.
When I change route, activated / deactivated hooks will be called many times.
```
activated() {
console.log("---> activated", this.$attrs["data-route-name"]);
},
deactivated() {
console.log("<--- deactivated", this.$attrs["data-route-name"]);
},
```
Below is logs when switching from 'app-chat' to 'app-channel'
```
16:09:37.454 index.vue:79 <--- deactivated app-chat
16:09:37.455 index.vue:71 ---> activated app-chat
16:09:37.456 index.vue:79 <--- deactivated app-chat
16:09:37.458 index.vue:72 ---> activated app-channel
16:09:37.459 index.vue:80 <--- deactivated app-channel
16:09:37.461 index.vue:72 ---> activated app-channel
```
Could you help me?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。