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
8887d133
Commit
8887d133
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
!155
parents
e40599d6
526414ca
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
App.vue
H5/src/App.vue
+2
-2
settings.vue
H5/src/views/settings.vue
+3
-3
No files found.
H5/src/App.vue
View file @
8887d133
...
...
@@ -22,9 +22,9 @@ export default {
this
.
currentTitle
=
val
.
meta
.
title
;
}
},
created
()
{
async
created
()
{
console
.
log
(
"和App开始交互"
);
this
.
$bridgeToAppFun
await
this
.
$bridgeToAppFun
.
getAuthToken
()
.
then
(
res
=>
{
console
.
log
(
"获取到token成功"
,
res
);
...
...
This diff is collapsed.
Click to expand it.
H5/src/views/settings.vue
View file @
8887d133
...
...
@@ -92,8 +92,8 @@ export default {
mounted
()
{
console
.
log
(
"读取用户信息"
);
this
.
imageBaseUrl
=
process
.
env
.
VUE_APP_BASE_URL
;
this
.
getUser
();
this
.
getAppVersion
();
this
.
getUser
();
},
methods
:
{
onUpdateVersion
()
{
...
...
@@ -121,9 +121,9 @@ export default {
}
});
},
getAppVersion
()
{
async
getAppVersion
()
{
console
.
log
(
"设置里获取到的版本号"
,
this
.
$bridgeToAppFun
.
getAppVersion
());
this
.
version
=
"版本"
+
this
.
$bridgeToAppFun
.
getAppVersion
(
);
this
.
version
=
"版本"
+
(
await
this
.
$bridgeToAppFun
.
getAppVersion
()
);
},
getUser
()
{
const
params
=
{
...
...
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