update experience for chat

This commit is contained in:
AceDataCloud committed 2023-10-03 20:13:23 +08:00
1 parent 7ca606ae20
commit 71dec1cb67
8 files changed
+151 -42

No files matched your search

+3 -10
View File
@@ -1,5 +1,5 @@
<template>
<span v-if="application && !initializing" class="info">
<span v-if="application" class="info">
{{ $t('conversation.message.usedCount') }}: {{ application?.used_amount }}
{{ $t('conversation.message.remainingCount') }}: {{ application?.remaining_amount }}
</span>
@@ -8,21 +8,14 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { IApplication } from '@/operators';
import { ElSkeleton } from 'element-plus';
export default defineComponent({
name: 'ApiStatus',
components: {
ElSkeleton
},
components: {},
props: {
application: {
type: Object as () => IApplication,
required: true
},
initializing: {
type: Boolean,
required: true
}
},
data() {
@@ -36,6 +29,6 @@ export default defineComponent({
<style lang="scss">
.info {
font-size: 14px;
color: var(--el-color-black);
color: var(--el-text-color-regular);
}
</style>