You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
444 B

  1. export default function (req, res, next) {
  2. // req is the Node.js http request object
  3. console.log('middle')
  4. // res is the Node.js http response object
  5. // next is a function to call to invoke the next middleware
  6. // Don't forget to call next at the end if your middleware is not an endpoint!
  7. next()
  8. }
  9. //// Clickout.vue
  10. // async asyncData(context) {
  11. // const id = context.req.body.id;
  12. // return { id }
  13. // }