Selaa lähdekoodia

Merge branch 'feature-min-count' into dev_1.1.6

jihuaqiang 2 vuotta sitten
vanhempi
commit
067fcc5c8e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/view/iframe/publish/give-dialog.vue

+ 1 - 1
src/view/iframe/publish/give-dialog.vue

@@ -1389,7 +1389,7 @@ const calcIptValue = (cb) => {
  */
 const checkUsdMinNumber = (isInTemplate) => {
     let forbiddenText = '';
-    const { usdPrice, luckdropPostConfig } = currentCurrencyInfo.value;
+    const { usdPrice, luckdropPostConfig = [] } = currentCurrencyInfo.value;
     let currentLuckDropConfig = luckdropPostConfig.find(item => item.luckdropType === selectModeInfo.type);
     if (baseFormData.rewardType === RewardType.money && currentLuckDropConfig?.usdLimitEnable === 1) {
         const { amountValue, totalCount } = baseFormData;