vue-router creates always a new Component instance

后端 未结 3 646
一整个雨季
一整个雨季 2021-01-13 04:01

I found an issue in vue-router which triggers me a lot. Always when I switch between my routes, a new instance of the component is created. Further the old instances are not

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-13 04:39

    The same issue is stated here : https://github.com/vuejs/vuex/issues/1580

    As a workaround you can use transition mode out-in. Rolandoda

         
    

提交回复
热议问题