liukangdong
2024-07-25 6810c281306cae6e02fbbb1478d780c823d08a33
wechat_jiaxuan/pages/detailDis/product.js
@@ -23,7 +23,7 @@
    this.setData({
      bottomLift: app.bottomLift
    })
    this.getDetail(options.id)
    this.getDetail(options.id, options.userId || '')
    actionDo({
      actionType: 'view',
      id: options.id
@@ -52,9 +52,9 @@
      })
    })
  },
  getDetail(id) {
  getDetail(id, userId) {
    getProductInfo({
      id
      id, salesId: userId || null
    }).then(res => {
      this.setData({
        info: res.data