Jelajahi Sumber

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

jihuaqiang 2 tahun lalu
induk
melakukan
067fcc5c8e
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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;