export default function (req, res, next) {
|
|
// req is the Node.js http request object
|
|
console.log('middle')
|
|
|
|
// res is the Node.js http response object
|
|
|
|
// next is a function to call to invoke the next middleware
|
|
// Don't forget to call next at the end if your middleware is not an endpoint!
|
|
next()
|
|
}
|
|
|
|
//// Clickout.vue
|
|
|
|
// async asyncData(context) {
|
|
// const id = context.req.body.id;
|
|
// return { id }
|
|
// }
|