Fix querying single user

This commit is contained in:
Pig Fang 2018-08-06 18:26:42 +08:00
parent 472477efa0
commit c333720fa3

View File

@ -127,7 +127,7 @@ export default {
}, },
methods: { methods: {
async fetchData() { async fetchData() {
const { data } = await this.$http.get('/admin/user-data'); const { data } = await this.$http.get(`/admin/user-data${location.search}`);
this.users = data; this.users = data;
}, },
async changeEmail(user) { async changeEmail(user) {