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-22 11:48:31 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7b95cbc4f95d4dbef51c908d82eab60e77e0e1b0
7b95cbc4
1 parent
aa9c8ea0
refactor(上传组件): 移除失败时的错误提示弹窗
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
src/components/UploadMediaComponent.vue
src/pages/UploadMedia/index.vue
src/components/UploadMediaComponent.vue
View file @
7b95cbc
...
...
@@ -259,11 +259,11 @@ const chooseMedia = () => {
},
fail: (err) => {
console.error('选择媒体文件失败:', err);
Taro.showToast({
title: '选择文件失败',
icon: 'error',
duration: 2000
});
//
Taro.showToast({
//
title: '选择文件失败',
//
icon: 'error',
//
duration: 2000
//
});
}
});
};
...
...
@@ -490,4 +490,4 @@ const saveMedia = async () => {
background-color: #f8f9fa;
overflow-y: auto;
}
</style>
\ No newline at end of file
</style>
...
...
src/pages/UploadMedia/index.vue
View file @
7b95cbc
...
...
@@ -269,11 +269,11 @@ const chooseMedia = () => {
},
fail: (err) => {
console.error('选择媒体文件失败:', err);
Taro.showToast({
title: '选择文件失败',
icon: 'error',
duration: 2000
});
//
Taro.showToast({
//
title: '选择文件失败',
//
icon: 'error',
//
duration: 2000
//
});
}
});
};
...
...
Please
register
or
login
to post a comment