vue-table
vue-table copied to clipboard
how to reload data use new apiurl
you can try this export default { watch: { '$route' (to, from) { //页面传递参数变化时,触发此方法 this.getData(1); } } } https://github.com/zhf883680/zhf-blog/blob/master/src/components/Show.Vue
2017-07-24 0:39 GMT+08:00 BruceGujinhe [email protected]:
How to relaod the data when I change the apiurl. such as i have set the name of the object of Vue that is cvue; then set api_url = "/admin/api/users?filter=B"; cvue.api_url = api_url;
well, I want to load new data by click "search" button.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ratiw/vue-table/issues/163, or mute the thread https://github.com/notifications/unsubscribe-auth/AV9txoBP8F-57dsue3CG_xxSpFzWwEy-ks5sQ3dSgaJpZM4OggNH .