Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
group-buy-ui
Commits
f887e4ff
Commit
f887e4ff
authored
Oct 08, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加sentry以及修改默认分享图
parent
be0602e7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
main.js
src/main.js
+2
-2
utils.service.js
src/service/utils.service.js
+2
-1
index.vue
src/views/orderList/index.vue
+2
-1
No files found.
src/main.js
View file @
f887e4ff
...
...
@@ -12,8 +12,8 @@ import Raven from 'raven-js';
import
RavenVue
from
'
raven-js/plugins/vue
'
;
import
{
release
}
from
'
../.sentryclirc
'
;
import
lazyload
from
'
@qg/cherry-ui/src/lazyload/index
'
;
if
(
process
.
env
.
SENTRY_ENV
!==
'
test
'
&&
process
.
env
.
NODE_ENV
=
==
'
production
'
)
{
Raven
.
config
(
'
//
21779c2dcb594299bdc803c5560cfecd@sentry.q-gp.com/6
0
'
,
{
if
(
process
.
env
.
SENTRY_ENV
!==
'
test
'
&&
process
.
env
.
NODE_ENV
!
==
'
production
'
)
{
Raven
.
config
(
'
//
8d1b2a5f74bb42ad806e52a11b1173f2@sentry.q-gp.com/8
0
'
,
{
release
,
environment
:
process
.
env
.
NODE_ENV
})
...
...
src/service/utils.service.js
View file @
f887e4ff
...
...
@@ -387,7 +387,8 @@ export function firstGroupShare(shareInfo, type) {
shareDic
:
{
title
:
`[0元购] 羊小咩Plus`
,
link
:
'
/pages/index/index
'
,
// 页面地址
imgUrl
:
'
https://img.lkbang.net/activity/share/default/shareDefault.png
'
// 图片地
imgUrl
:
'
https://img.lkbang.net/activity/share/default/shareDefault.png?imageMogr2/thumbnail/220x220/quality/75/interlace/1
'
// 图片地
}
}
});
...
...
src/views/orderList/index.vue
View file @
f887e4ff
...
...
@@ -83,7 +83,8 @@ export default {
firstGroupShare
(
{
skuName
:
'
我的拼团
'
,
skuImg
:
'
https://img.lkbang.net/activity/share/default/shareDefault.png
'
skuImg
:
'
https://img.lkbang.net/activity/share/default/shareDefault.png?imageMogr2/thumbnail/220x220/quality/75/interlace/1
'
},
1
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment