Explorar o código

更新 参数

wzh %!s(int64=3) %!d(string=hai) anos
pai
achega
ca7954d32a

+ 1 - 0
.cloudbase/container/debug.json

@@ -0,0 +1 @@
+{"containers":[],"config":{}}

+ 4 - 0
miniprogram/components/voyages/voyages.js

@@ -98,6 +98,10 @@ Component({
         }
 
       } else {
+        this.setData({
+          list: [],
+          total: 0
+        })
         wx.showToast({
           icon: "none",
           title: res.data.msg,

+ 1 - 1
miniprogram/pages/index/index.js

@@ -11,7 +11,7 @@ Page({
   async getIndexInfo() {
     if (wx.getStorageSync('isClient')) return
     let res = await postApi('/voyage/index', {
-      cargoOwnerId: wx.getStorageSync('cargoOwnerId'),
+      loginAccountId: wx.getStorageSync('loginAccountId'),
       isClient: wx.getStorageSync('isClient'),
     })
     this.setData({