Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
hager
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
2024-10-21 18:33:45 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1d2d2a3eafdc3e6f24fe7cfaca5cb49ea71f53d4
1d2d2a3e
1 parent
4052cc40
fix 取消发送确认弹框
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
31 deletions
src/views/product/detail.vue
src/views/product/detail.vue
View file @
1d2d2a3
<!--
* @Date: 2024-09-29 14:26:41
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-10-21 1
6:20:10
* @LastEditTime: 2024-10-21 1
8:30:13
* @FilePath: /hager/src/views/product/detail.vue
* @Description: 文件描述
-->
...
...
@@ -151,21 +151,10 @@ export default {
goToDownload () {
if (this.is_download_checked) {
// 发送邮箱接口
MessageBox.confirm('是否发送到邮箱?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
Message({
type: 'success',
message: '发送成功'
});
}).catch(() => {
Message({
type: 'info',
message: '已取消发送'
})
})
Message({
type: 'success',
message: '发送成功'
});
}
},
checkAll () {
...
...
@@ -173,21 +162,10 @@ export default {
},
sendEmail () {
// 发送邮箱接口
MessageBox.confirm('是否发送到邮箱?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
Message({
type: 'success',
message: '发送成功'
});
}).catch(() => {
Message({
type: 'info',
message: '已取消发送'
})
})
Message({
type: 'success',
message: '发送成功'
});
},
preview (item) {
window.open(item, '_blank');
...
...
Please
register
or
login
to post a comment