Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-11 19:58:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
59259743bfbe2d984228e5601159846d49d25174
59259743
1 parent
fa117323
fix(图片预览): 隐藏预览组件的索引显示并修正描述文本
将图片预览组件的索引显示关闭,并统一将"头像"相关描述改为"封面"
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
src/pages/CreateFamily/index.vue
src/pages/EditFamily/index.vue
src/pages/CreateFamily/index.vue
View file @
5925974
<!--
* @Date: 2025-08-27 17:44:53
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-11 1
1:06:38
* @LastEditTime: 2025-09-11 1
9:55:19
* @FilePath: /lls_program/src/pages/CreateFamily/index.vue
* @Description: 文件描述
-->
...
...
@@ -153,6 +153,7 @@
v-model:show="previewVisible"
:images="previewImages"
:init-no="previewIndex"
:show-index="false"
@close="closePreview"
/>
...
...
src/pages/EditFamily/index.vue
View file @
5925974
<!--
* @Date: 2025-08-27 17:44:53
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-09-11 1
0:41:23
* @LastEditTime: 2025-09-11 1
9:58:10
* @FilePath: /lls_program/src/pages/EditFamily/index.vue
* @Description: 文件描述
-->
...
...
@@ -149,6 +149,7 @@
v-model:show="previewVisible"
:images="previewImages"
:init-no="previewIndex"
:show-index="false"
@close="closePreview"
/>
...
...
@@ -347,7 +348,7 @@ const uploadImage = (filePath) => {
};
/**
* 预览
头像
* 预览
封面
*/
const previewAvatar = () => {
const imageToPreview = familyAvatar.value || defaultFamilyCover.value;
...
...
@@ -357,11 +358,11 @@ const previewAvatar = () => {
};
/**
* 删除
头像
* 删除
封面
*/
const deleteAvatar = () => {
familyAvatar.value = '';
showToast('
头像
已删除', 'success');
showToast('
封面
已删除', 'success');
};
/**
...
...
Please
register
or
login
to post a comment