美化添加账单地址弹窗

This commit is contained in:
jingrow 2025-12-30 03:16:36 +08:00
parent 6a0259cafc
commit 5a12b34322

View File

@ -15,18 +15,21 @@
<ErrorMessage class="mt-2" :message="errorMessage" />
</div>
<div v-if="addressFormRef" class="mt-6">
<Button
class="w-full"
variant="solid"
:label="$t('Update Billing Information')"
<n-button
type="primary"
size="medium"
block
:loading="addressFormRef.updateBillingInformation.loading"
@click="updateBillingInformation"
/>
>
{{ $t('Update Billing Information') }}
</n-button>
</div>
</template>
<script setup>
import NewAddressForm from './NewAddressForm.vue';
import { FormControl, ErrorMessage, Button, createResource } from 'jingrow-ui';
import { FormControl, ErrorMessage, createResource } from 'jingrow-ui';
import { NButton } from 'naive-ui';
import { reactive, ref, inject, getCurrentInstance } from 'vue';
const emit = defineEmits(['success']);