Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加商铺后,点击商铺列表,最新添加的商铺显示不出来 #27

Closed
lianyz opened this issue Jul 30, 2017 · 2 comments
Closed

Comments

@lianyz
Copy link

lianyz commented Jul 30, 2017

添加商铺后,点击商铺列表,最新添加的商铺显示不出来

@lianyz
Copy link
Author

lianyz commented Aug 3, 2017

找到一种解决办法,在组件中增加一个watch

watch: {
          // 如果路由有变化,会再次执行该方法
          '$route': 'initData'
        },

@lianyz lianyz closed this as completed Aug 3, 2017
@sosky-yty
Copy link

请问是在shoplist组件中还是在addshop组件中?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants