zhashaonan il y a 7 ans
Parent
commit
3048369f59
2 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 2 1
      pages/addAddress/addAddress.js
  2. 2 2
      pages/details/details.js

+ 2 - 1
pages/addAddress/addAddress.js

@@ -25,6 +25,7 @@ Page({
    */
   data: {
     checked: true,
+    areas: [],
     region: [],
     years: years,
     year: date.getFullYear(),
@@ -60,7 +61,7 @@ Page({
       day: this.data.days[val[2]]
     })
   },
-
+  
 
   /**
    * 生命周期函数--监听页面初次渲染完成

+ 2 - 2
pages/details/details.js

@@ -30,8 +30,8 @@ Page({
     this.setData({
       webViewUrl
     })
-    // this.getDatas(options.goods_id)
-    this.getDatas(6417)
+    this.getDatas(options.goods_id)
+    // this.getDatas(6417)
   },
   getDatas(goods_id) {
     wx.showLoading({