小优化

This commit is contained in:
jianzhichu
2025-12-01 17:15:16 +08:00
parent b6b915b0c5
commit 13dfe09d93
6 changed files with 9 additions and 26 deletions
+1 -1
View File
@@ -99,7 +99,7 @@
<div v-if="noMoreData && followData.length > 0" class="no-more-container">暂无更多数据</div>
<!-- 空状态 -->
<div v-if="followData.length === 0 && !loading" class="empty-container">
<Empty description="暂无关注用户,或Cookie设置中未设置SecUserId" />
<Empty description="暂无关注用户" />
</div>
</div>
-17
View File
@@ -334,23 +334,6 @@ const formatFilePath = (filePath?: string) => {
return filePath;
};
/** 渲染弹窗标题(带悬停显示存储路径) */
const renderModalTitle = () => {
// 获取存储路径(优先显示实际路径,无路径时显示提示)
const filePath = formatFilePath(currentVideoInfo.value?.videoSavePath);
// 格式化后的标题文本
const titleText = formatModalTitle(currentVideoInfo.value?.videoTitle);
return h(
'span',
{
class: 'modal-title-with-tooltip',
title: filePath, // 悬停时显示的存储路径
},
titleText
);
};
// -------------------------- 核心工具方法 --------------------------
/** 格式化表格视频标题:超过20字符显示省略号 */
const formatVideoTitle = (title?: string) => {