fix: some

This commit is contained in:
luo
2026-10-14 09:56:09 +08:00
parent d672dec0d0
commit a7b1156ac1
11 changed files with 112 additions and 39 deletions

View File

@@ -42,7 +42,7 @@
</template>
<script setup>
import { ref, computed } from 'vue';
import { ref, computed, watch } from 'vue';
import { assetApi, isAssetRealNameCompleted, orderApi } from '@/api/index.js';
import {
handlePaymentError,
@@ -63,8 +63,9 @@
paymentRefreshTarget: { type: String, default: PAYMENT_REFRESH_TARGETS.ORDER_LIST }
});
const emit = defineEmits(['completed']);
const emit = defineEmits(['completed', 'visibility-change']);
const show = ref(false);
watch(show, (value) => emit('visibility-change', value), { flush: 'sync' });
const submitting = ref(false);
const packageIds = ref([]);
const packageNames = ref([]);