Browse Source

currency-list增加通用奖品选项

huaqiangj 2 years ago
parent
commit
f9ea75cdf3
2 changed files with 6 additions and 0 deletions
  1. 5 0
      src/view/components/currency-list.vue
  2. 1 0
      src/view/iframe/publish/give-dialog.vue

+ 5 - 0
src/view/components/currency-list.vue

@@ -109,6 +109,11 @@ const props = defineProps({
     showRefresh: {
         type: Boolean,
         default: true
+    },
+    // 是否显示 通用奖品选项
+    showGeneralLottery: {
+        type: Boolean,
+        default: false
     }
 })
 let keywords = ref('');

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

@@ -60,6 +60,7 @@
                     <div class="currency-pop" v-show="showCurrencyPop">
                         <currency-list 
                             ref="currencyListDom"
+                            :showGeneralLottery="true"
                             @selectCurrency="selectCurrency"
                             @setCurrencyList="setCurrentCurrencyInfo"></currency-list>
                     </div>