新增搜索出的产品列表

This commit is contained in:
clay
2022-12-25 16:49:38 +08:00
parent fd6f5b5390
commit d3c83c4c7d
8 changed files with 87 additions and 19 deletions

View File

@@ -35,10 +35,6 @@
</template>
<script>
// import {
// simpleDateFormat,
// simpleDateFormatByMoreLine
// } from '@/utills/util.js'
export default {
data() {
return {
@@ -76,11 +72,7 @@
// time: '2022-12-04'
// }
],
query: {
sortType: 1,
pageSize: 4,
pageNum: 1
}
}
},
created() {
@@ -91,7 +83,7 @@
//获取产品列表
getProducts() {
// console.log("子组件的获取产品列表方法====");
this.$apiServe.getProducts(this.query).then(res => {
this.$apiServe.getProducts().then(res => {
// console.log(res.data.data)
this.productList = res.data.data