Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
梁建民
/
h5
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
02ee19d9
authored
Sep 03, 2020
by
liangjianmin
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
js
parent
11913492
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
21 deletions
src/views/common/wxShare.vue
src/views/sample/special.vue
src/views/common/wxShare.vue
View file @
02ee19d9
...
...
@@ -62,29 +62,21 @@
}
}
},
// beforeCreate(){
// let href = window.location.href;
// if(href.indexOf('groupmessage') > -1 || href.indexOf('singlemessage') > -1 || href.indexOf('timeline') > -1){
// href = href.replace(/\?from=(groupmessage|singlemessage|timeline)(\S*)#/, '#');
// window.location.replace(href);
// }
// },
created
()
{
//无需登录的情况下
if
(
!
this
.
isLogin
)
{
if
(
!
this
.
isLogin
)
{
this
.
$store
.
dispatch
({
type
:
"wxShare"
,
current_url
:
location
.
href
current_url
:
location
.
href
});
}
else
{
if
(
util
.
getCookie
(
"Yo4teW_uid"
))
{
this
.
$store
.
dispatch
({
type
:
"wxShare"
,
current_url
:
location
.
href
});
}
}
else
{
if
(
util
.
getCookie
(
"Yo4teW_uid"
))
{
this
.
$store
.
dispatch
({
type
:
"wxShare"
,
current_url
:
location
.
href
});
}
}
},
...
...
src/views/sample/special.vue
View file @
02ee19d9
...
...
@@ -320,10 +320,8 @@
window
.
location
.
href
=
'https://www.pcbhunt.com/pcbonline.html?BoardHeight=10&BoardWidth=10&Num=5&BoardLayers=2&BoardThickness=1.6'
;
}
}
else
{
if
(
this
.
userSpecialInfo
.
has_order
==
0
){
Toast
.
loading
({
message
:
'您当前已申请领取了哟,请前往订单中心查看'
});
if
(
this
.
userSpecialInfo
.
has_order
==
'1'
){
Toast
(
'您当前已申请领取了哟,请前往订单中心查看'
);
}
else
{
this
.
getPops
=
true
;
}
...
...
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