Files
Nexior/src/components/common/ApiStatus.vue
T
2023-10-08 02:25:19 +08:00

37 lines
747 B
Vue

<template>
<span v-if="application" class="info">
{{ $t('conversation.message.usedCount') }}: {{ application?.used_amount }}
{{ $t('conversation.message.remainingCount') }}: {{ application?.remaining_amount }}
</span>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import { IApplication } from '@/operators';
export default defineComponent({
name: 'ApiStatus',
components: {},
props: {
application: {
type: Object as () => IApplication | undefined,
required: true
}
},
data() {
return {};
},
computed: {},
methods: {}
});
</script>
<style lang="scss">
.info {
font-size: 14px;
color: var(--el-text-color-regular);
display: block;
text-align: center;
}
</style>