@@ -72,15 +72,31 @@
</template>
<script>
+import { list } from '@/api/ohplay/recommend'
export default {
data() {
return {
+ // 表单
+ form: {
+ pageNum: 1,
+ pageSize: 10
+ },
tableData: [{
id: 1
}],
// 弹窗
dialogVisible: false
}
+ mounted(){
+ this.getList()
+ methods:{
+ getList(){
+ list(this.form).then(res => {
+ console.log(res);
+ })
+ }
</script>