罗世杰:fixed:修改列表组件发送网络请求的位置
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
return {
|
||||
pageSize: 5,
|
||||
pageNum: 1,
|
||||
shopInfoList: []
|
||||
|
||||
};
|
||||
},
|
||||
@@ -70,8 +69,13 @@
|
||||
default() {
|
||||
return {}
|
||||
}
|
||||
},
|
||||
shopInfoList: {
|
||||
type: Array,
|
||||
default() {
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
methods: {
|
||||
@@ -99,9 +103,7 @@
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList()
|
||||
}
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user