Fine-tuning the vue.js client
This commit is contained in:
@@ -21,8 +21,8 @@ const books = new Vue ({
|
|||||||
},
|
},
|
||||||
|
|
||||||
async inspect ({currentTarget:{id}}) {
|
async inspect ({currentTarget:{id}}) {
|
||||||
const {data} = await GET(`/Books/${id}?$select=descr`)
|
const {data} = await GET(`/Books/${id}/descr/$value`)
|
||||||
books.info = data.descr
|
books.info = data
|
||||||
},
|
},
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user