소스 검색

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}}