_name.vue 499 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <div>
  3. <h2>12321321321</h2>
  4. </div>
  5. </template>
  6. <script>
  7. export default {
  8. name: 'news',
  9. async asyncData({params,req,query}){
  10. console.log(params);
  11. console.log(req);
  12. console.log(query);
  13. },
  14. components: {
  15. },
  16. props: {
  17. },
  18. data() {
  19. return {
  20. };
  21. },
  22. computed: {},
  23. methods: {
  24. },
  25. created() {
  26. },
  27. mounted() {
  28. },
  29. beforeDestroy() {
  30. },
  31. };
  32. </script>
  33. <style>
  34. </style>