瀏覽代碼

defaultamount改为amount

xiaohaizhao 2 年之前
父節點
當前提交
5c17fcac69
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      packageA/orderForm/detail.js
  2. 1 1
      packageA/orderForm/detail.wxml

+ 1 - 1
packageA/orderForm/detail.js

@@ -60,7 +60,7 @@ Page({
             this.setData({
                 detail: res.data,
                 loading: false,
-                defaultamount: CNY(res.data.defaultamount),
+                amount: CNY(res.data.amount),
                 account
             });
             if (init) {

+ 1 - 1
packageA/orderForm/detail.wxml

@@ -68,7 +68,7 @@
 <view class="footer">
 	<view class="price">
 		<view class="count">
-			{{handleHide.query(defaultamount,hidePrice)}}元
+			{{handleHide.query(amount,hidePrice)}}元
 		</view>
 		<view>
 			{{logistics}}