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.
32 lines
527 B
32 lines
527 B
<!--
|
|
* @Author: ch
|
|
* @Date: 2022-05-04 20:47:29
|
|
* @LastEditors: ch
|
|
* @LastEditTime: 2022-05-04 21:49:40
|
|
* @Description: file content
|
|
-->
|
|
<template>
|
|
<div>
|
|
<h1>我是订单列表</h1>
|
|
<a href="/">回首页</a>
|
|
</div>
|
|
</template>
|
|
<script>
|
|
import {ApiGetOrderList} from '~/plugins/api/order';
|
|
export default {
|
|
name: 'IndexPage',
|
|
asyncData(){
|
|
|
|
},
|
|
mounted(){
|
|
this.getData();
|
|
},
|
|
methods : {
|
|
async getData(){
|
|
const res = await ApiGetOrderList();
|
|
console.log(res);
|
|
|
|
}
|
|
}
|
|
}
|
|
</script> |