feat: new
This commit is contained in:
@@ -221,6 +221,10 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<PopupCandidate v-if='popupCandidateShow' page='asset_wallet_recharge'
|
||||
:identifier='userStore.state.identifier' @close='onPopupCandidateClose' />
|
||||
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@@ -228,6 +232,7 @@
|
||||
import { onShow } from '@dcloudio/uni-app';
|
||||
import { walletApi } from '@/api/index.js';
|
||||
import { useUserStore } from '@/store/index.js';
|
||||
import PopupCandidate from '@/components/PopupCandidate.vue';
|
||||
import {
|
||||
consumePendingPaymentRefresh,
|
||||
handlePaymentError,
|
||||
@@ -242,6 +247,11 @@
|
||||
import { getDefaultPaymentMethod, getPaymentMethodOptions, normalizePaymentMethods } from '@/utils/payment-methods.js';
|
||||
|
||||
const userStore = useUserStore();
|
||||
const popupCandidateShow = ref(false);
|
||||
|
||||
const onPopupCandidateClose = () => {
|
||||
popupCandidateShow.value = false;
|
||||
};
|
||||
|
||||
const currentTab = ref(0);
|
||||
const walletDetail = reactive({
|
||||
@@ -765,6 +775,7 @@
|
||||
|
||||
onMounted(() => {
|
||||
syncWalletStatus();
|
||||
popupCandidateShow.value = true;
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user