fix(统计业务): 修复formatVipType引用

This commit is contained in:
2026-06-26 16:30:48 +08:00
parent 1f467a25be
commit 64b2f08e88
3 changed files with 3 additions and 1 deletions

View File

@@ -142,6 +142,7 @@ export default {
window.removeEventListener('resize', this.handleResize)
},
methods: {
formatVipType,
handleResize() {
this.calculateTableHeight()
},

View File

@@ -134,6 +134,7 @@ export default {
window.removeEventListener('resize', this.handleResize)
},
methods: {
formatVipType,
handleResize() {
this.calculateTableHeight()
},

View File

@@ -8,7 +8,7 @@ const VIP_TYPE_MAP = {
8: '心理学'
}
export function formatVipType(row = {}) {
export function formatVipType (row = {}) {
const vipType = row.vipType
if (vipType !== '' && vipType !== null && vipType !== undefined) {
const text = String(vipType).trim()