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
d7095816
authored
Jun 11, 2020
by
施宇
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1
parent
e70e3d65
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
0 deletions
src/views/common/wxShare.vue
src/views/oscilloscope/Index.vue
view/3.js
src/views/common/wxShare.vue
View file @
d7095816
...
@@ -67,6 +67,7 @@
...
@@ -67,6 +67,7 @@
}
}
},
},
beforeCreate
(){
beforeCreate
(){
//微信二次分享会在url上面带上参数,导致分享失败
let
href
=
window
.
location
.
href
;
let
href
=
window
.
location
.
href
;
if
(
href
.
indexOf
(
'groupmessage'
)
>
-
1
||
href
.
indexOf
(
'singlemessage'
)
>
-
1
||
href
.
indexOf
(
'timeline'
)
>
-
1
){
if
(
href
.
indexOf
(
'groupmessage'
)
>
-
1
||
href
.
indexOf
(
'singlemessage'
)
>
-
1
||
href
.
indexOf
(
'timeline'
)
>
-
1
){
href
=
href
.
replace
(
/
\?
from=
(
groupmessage|singlemessage|timeline
)(\S
*
)
#/
,
'#'
);
href
=
href
.
replace
(
/
\?
from=
(
groupmessage|singlemessage|timeline
)(\S
*
)
#/
,
'#'
);
...
...
src/views/oscilloscope/Index.vue
View file @
d7095816
...
@@ -110,6 +110,7 @@ import Vue from 'vue';
...
@@ -110,6 +110,7 @@ import Vue from 'vue';
import
{
Swipe
,
SwipeItem
}
from
'vant'
;
import
{
Swipe
,
SwipeItem
}
from
'vant'
;
Vue
.
use
(
Swipe
).
use
(
SwipeItem
)
Vue
.
use
(
Swipe
).
use
(
SwipeItem
)
export
default
{
export
default
{
name
:
"oscilloscope"
,
name
:
"oscilloscope"
,
data
()
{
data
()
{
return
{
return
{
...
...
view/3.js
View file @
d7095816
This diff is collapsed.
Click to expand it.
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