Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
X
XiTianSenMall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
leiqingsong
XiTianSenMall
Commits
6ca10e97
Commit
6ca10e97
authored
4 years ago
by
leiqingsong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_lqs' into 'master'
Dev lqs See merge request
!24
parents
daf7cfdf
ff2b0e87
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
bridgeToAppFun.js
H5/src/utils/bridgeToAppFun.js
+4
-0
router.vue
H5/src/views/router.vue
+3
-0
No files found.
H5/src/utils/bridgeToAppFun.js
View file @
6ca10e97
...
...
@@ -3,8 +3,12 @@ import jsBridge from "./bridge";
// 获取Token
export
function
getAuthToken
()
{
console
.
log
(
"去调用"
);
return
new
Promise
((
resolve
,
reject
)
=>
{
console
.
log
(
"调用1"
);
jsBridge
.
callhandler
(
"getAuthToken"
,
null
,
data
=>
{
console
.
log
(
"调用2"
);
console
.
log
(
data
);
if
(
data
)
{
alert
(
"获取到的token"
+
data
);
resolve
();
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/router.vue
View file @
6ca10e97
...
...
@@ -38,6 +38,9 @@ export default {
}
}
});
this
.
routes
.
forEach
(
item
=>
{
console
.
log
(
item
.
meta
.
title
+
"http://8.131.244.76:81/front"
+
item
.
path
);
})
},
methods
:
{
to
(
path
)
{
...
...
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