Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
educationStu
Project
Project
Details
Activity
Releases
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
向伟
educationStu
Commits
a709a88e
Commit
a709a88e
authored
Aug 27, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
852491c9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
index.vue
src/pages/index/index.vue
+3
-6
No files found.
src/pages/index/index.vue
View file @
a709a88e
...
@@ -131,12 +131,13 @@ import {
...
@@ -131,12 +131,13 @@ import {
}
from
"vue"
;
}
from
"vue"
;
import
{
getIndexInfo
}
from
"../../api/index"
;
import
{
getIndexInfo
}
from
"../../api/index"
;
import
{
getSystemInfo
,
desensitization
}
from
"../../utils/index"
;
import
{
getSystemInfo
,
desensitization
}
from
"../../utils/index"
;
import
request
from
"../../utils/request.js"
;
export
default
{
export
default
{
name
:
""
,
name
:
""
,
props
:
{},
props
:
{},
components
:
{},
components
:
{},
setup
(
props
)
{
setup
(
props
)
{
let
{
ctx
}
=
getCurrentInstance
();
ctx
.
$isLogin
();
let
data
=
reactive
({
let
data
=
reactive
({
statusBarHeight
:
0
,
statusBarHeight
:
0
,
userinfo
:
{},
userinfo
:
{},
...
@@ -251,16 +252,12 @@ export default {
...
@@ -251,16 +252,12 @@ export default {
};
};
},
},
onLoad
()
{
onLoad
()
{
// let { ctx } = getCurrentInstance();
// ctx.$test("首页");
// this.$test("首页");
// console.log(256, this);
uni
.
setNavigationBarTitle
({
uni
.
setNavigationBarTitle
({
title
:
"首页"
,
title
:
"首页"
,
});
});
},
},
onShow
()
{
onShow
()
{
console
.
log
(
"index Show"
);
//
console.log("index Show");
},
},
};
};
</
script
>
</
script
>
...
...
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