소스 검색

Merge branch 'dev_220318_test' into test

wenliming 3 년 전
부모
커밋
ad918643c0
3개의 변경된 파일7개의 추가작업 그리고 7개의 파일을 삭제
  1. 5 5
      src/view/components/option-withdraw.vue
  2. 1 1
      src/view/components/options-transactions.vue
  3. 1 1
      src/view/popup.vue

+ 5 - 5
src/view/components/option-withdraw.vue

@@ -171,13 +171,13 @@ const doneWithdraw = () => {
 
 const withdrawalAll = () => {
     console.log(canWithdrawBalance.value)
-    if (
-        canWithdrawBalance.value &&
+    requestWithdrawParams.value.amountValue =
+            canWithdrawBalance.value / 100;
+    if (!(canWithdrawBalance.value &&
         canWithdrawBalance.value >
-            props.walletWithdrawConfig.withdrawUSDPaypalFee
+            props.walletWithdrawConfig.withdrawUSDPaypalFee)
     ) {
-        requestWithdrawParams.value.amountValue =
-            canWithdrawBalance.value / 100;
+        showWithdrawError.value = true;
     }
 };
 

+ 1 - 1
src/view/components/options-transactions.vue

@@ -79,7 +79,7 @@
                                     Withdrawal to PayPal
                                 </template>
                             </div>
-                            <div class="time">{{moment(item.createTimestamp).format('MM-DD hh:mm:ss')}}</div>
+                            <div class="time">{{moment(item.createTimestamp).format('MM-DD HH:mm:ss')}}</div>
                         </div>
                         <div class="right">
                             <div class="msg">

+ 1 - 1
src/view/popup.vue

@@ -76,7 +76,7 @@
                                     <div class="time">
                                         {{
                                             moment(item.timestamp).format(
-                                                "MM-DD hh:mm:ss"
+                                                "MM-DD HH:mm:ss"
                                             )
                                         }}
                                     </div>