| | |
| | | </div> --> |
| | | <van-action-sheet class="action-sheet" v-model:show="isSelectShow" @select="onSelect" :actions="actions" |
| | | :cancel-text="$t('取消')" close-on-click-action @cancel="onCancel" /> |
| | | |
| | | </div> |
| | | |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | handleImage, |
| | | ...mapActions('home', [SET_COIN_LIST]), |
| | | onUpdate(symbol) { // 更新 |
| | | console.log("symbol",symbol); |
| | | |
| | | this.symbol = symbol |
| | | this.closeSocket() |
| | | this.init(symbol) |
| | |
| | | this.initClose = res |
| | | }) |
| | | } |
| | | |
| | | if (this.userInfo.token) { |
| | | this.getWallet() |
| | | this.timer3 = setInterval(() => { |
| | |
| | | }, 2000) |
| | | } |
| | | } |
| | | else{ |
| | | showFailToast(this.$t('请先登录')) |
| | | } |
| | | }, |
| | | init(symbol) { // 初始化页面 |
| | | this.symbol = symbol |