Fine-tuning the vue.js client

This commit is contained in:
Daniel
2020-03-23 12:14:18 +01:00
parent 1679764a7f
commit bdacbb6a35

View File

@@ -21,8 +21,8 @@ const books = new Vue ({
},
async inspect ({currentTarget:{id}}) {
const {data} = await GET(`/Books/${id}?$select=descr`)
books.info = data.descr
const {data} = await GET(`/Books/${id}/descr/$value`)
books.info = data
},
}