src/components/Transform/mining-exchange-input/index.vue
@@ -72,7 +72,7 @@ class="w-30 h-30 rounded-full mr-10 currency-icon" /> </div> <div> <div class="item-title textColor">{{ item.symbol_data.toUpperCase() }}</div> <div class="item-title textColor">{{ strToArr(item.name.toUpperCase(),'/')[0] }}</div> </div> </div> <div class="text-right" v-if="activeIndex == 0"> @@ -234,7 +234,11 @@ } else { this.currencyList = this.allCurrencyList } } }, strToArr(str, separator = ',') { if (typeof str !== 'string') return []; return str.split(separator); }, }, }; </script>