新增搜索出的产品列表
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user