diff --git a/biji-qianduan/src/components/HomePage.vue b/biji-qianduan/src/components/HomePage.vue index 644afd3..f138b92 100644 --- a/biji-qianduan/src/components/HomePage.vue +++ b/biji-qianduan/src/components/HomePage.vue @@ -39,22 +39,31 @@

- {{ selectedFile.title }} + {{ selectedFile.title }}

- 返回 - 移动 - 编辑 - 删除 + + + 返回 + + 移动 + + + 编辑 + + + + 删除 + 返回 保存 {{ saveStatus }} - + {{ selectedFile.isPrivate === 1 ? '设为公开' : '设为私密' }} - + 导出 @@ -337,7 +346,7 @@ import { generateRegistrationCode, updatePassword } from '@/api/CommonApi.js' -import { Plus, Fold, Expand, Folder, Document, Search, Edit, Delete, ArrowDown, Clock, Lock, InfoFilled, Menu, User } from "@element-plus/icons-vue"; +import { Plus, Fold, Expand, Folder, Document, Search, Edit, Delete, ArrowDown, Clock, Lock, InfoFilled, Menu, User, Back } from "@element-plus/icons-vue"; import { useUserStore } from '../stores/user'; import { useRouter } from 'vue-router'; import { privateNoteContent } from '../utils/privateNoteContent.js'; @@ -1412,6 +1421,14 @@ const resetUpdatePasswordForm = () => { display: flex; align-items: center; gap: 10px; + flex-grow: 1; + overflow: hidden; + white-space: nowrap; +} + +.preview-title span { + overflow: hidden; + text-overflow: ellipsis; } .preview-title .edit-icon {