mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-09 02:46:44 +08:00
格式化人员数量
This commit is contained in:
@@ -51,7 +51,7 @@
|
||||
<el-tooltip effect="light" content="浏览量" placement="top" :visible-arrow="false" popper-class="text-tooltip">
|
||||
<svg-icon style="margin-right: 0;font-size:22px;padding-top: 4px;" icon-class="eyes"></svg-icon>
|
||||
</el-tooltip>
|
||||
<span class="interact-bar-value"> {{ data.views}}</span>
|
||||
<span class="interact-bar-value"> {{ formatNum(data.views)}}</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div v-if="courseExclusive" @click="addFavorite()" :style="`min-width: ${nodeWidth};`" class="interact-bar-btn" :class="{cursor:!readonly}">
|
||||
@@ -90,6 +90,7 @@
|
||||
import apiUser from '@/api/system/user.js'
|
||||
import apiMessage from '@/api/system/message.js'
|
||||
import { mapGetters } from 'vuex';
|
||||
import { formatUserNumber } from '@/utils/tools.js';
|
||||
export default {
|
||||
props: {
|
||||
data:{
|
||||
@@ -169,6 +170,7 @@ export default {
|
||||
},
|
||||
data(){
|
||||
return {
|
||||
formatNum:formatUserNumber,
|
||||
loading:false,
|
||||
isPraise:false,
|
||||
isFavorite:false,
|
||||
|
||||
Reference in New Issue
Block a user