vue-table icon indicating copy to clipboard operation
vue-table copied to clipboard

how to reload data use new apiurl

Open jiker-burce opened this issue 7 years ago • 1 comments

jiker-burce avatar Jul 23 '17 16:07 jiker-burce

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 .

zhf883680 avatar Jul 24 '17 01:07 zhf883680