|
@@ -73,7 +73,8 @@ export default {
|
|
|
$route: {
|
|
|
async handler(val) {
|
|
|
if (val.query && val.query.id) {
|
|
|
- const res = await getDetails({ id: val.query.id })
|
|
|
+ console.log(val.query.id)
|
|
|
+ const res = await getDetails({ id: Number(val.query.id) })
|
|
|
|
|
|
console.log('xxxxxxxxxxxxxxxxxx')
|
|
|
console.log(res)
|