전체 크리에이터 수 추가

This commit is contained in:
Yu Sung 2024-09-26 20:31:04 +09:00
parent e73a534583
commit 77559bb4a9
1 changed files with 14 additions and 1 deletions

View File

@ -46,6 +46,11 @@
</v-text-field>
</v-col>
</v-row>
<v-row>
<v-col class="text-left total-creator">
전체 <span>{{ total_creator_count }}</span>
</v-col>
</v-row>
<v-row>
<v-col>
<v-simple-table class="elevation-10">
@ -159,6 +164,7 @@ export default {
is_loading: false,
page: 1,
total_page: 0,
total_creator_count: 0,
search_word: '',
accounts: [],
account: {},
@ -234,6 +240,7 @@ export default {
const data = res.data.data
const total_page = Math.ceil(data.totalCount / 20)
this.total_creator_count = data.totalCount;
this.accounts = data.items
if (total_page <= 0)
@ -269,6 +276,12 @@ export default {
}
</script>
<style scoped>
<style>
.total-creator {
padding-bottom: 0;
}
.total-creator > span {
color: #3bb9f1;
}
</style>