|
@@ -120,7 +120,7 @@ export default {
|
|
|
...place({ palcequery: 'query', palcefetch: 'fetch' }),
|
|
|
async search({ skip = 0, limit = 10, ...info } = {}) {
|
|
|
if (this.user.role != '1') info.user_id = this.user.uid;
|
|
|
- let res = await this.query({ skip, limit });
|
|
|
+ let res = await this.query({ skip, limit, user_id: this.user.uid });
|
|
|
for (const val of res.data) {
|
|
|
let parent = val.province;
|
|
|
let places = val.place;
|