浏览代码

清除账户缓存

xiaohaizhao 1 年之前
父节点
当前提交
04bb77bf82
共有 2 个文件被更改,包括 2 次插入1 次删除
  1. 1 0
      packageA/account/index.js
  2. 1 1
      packageA/orderForm/detail.js

+ 1 - 0
packageA/account/index.js

@@ -27,6 +27,7 @@ Page({
             "content": {
                 pageSize: 999,
                 type: 1,
+                nocache: true,
                 "where": {
                     "condition": ""
                 }

+ 1 - 1
packageA/orderForm/detail.js

@@ -68,7 +68,7 @@ Page({
 			}).format();
 			if (res.data.sa_accountclassinfos) res.data.sa_accountclassinfos = res.data.sa_accountclassinfos.map(v => {
 				v.amount = CNY(v.amount)
-				v.text = `\n(实时余额:${CNY(v.realbalance)},当余额:${CNY(v.balance)},信用额度:${CNY(v.creditquota)})`
+				v.text = `\n(实时余额:${CNY(v.realbalance)},当余额:${CNY(v.balance)},信用额度:${CNY(v.creditquota)})`
 				return v
 			})
 			this.setData({