Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
techbook
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
front-end-dev
techbook
Commits
4e7997d9
Commit
4e7997d9
authored
May 13, 2020
by
zhangyanni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页
parent
3f720d0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
index.vue
src/views/mobile/index/index.vue
+14
-0
No files found.
src/views/mobile/index/index.vue
View file @
4e7997d9
...
...
@@ -264,6 +264,7 @@
projectInfo
:
[],
companyInfo
:
[],
caseInfo
:
[],
articleList
:[],
lang
:
this
.
$i18n
.
locale
==
"zh-CN"
?
1
:
2
,
userInfo
:
null
,
friendlyLink
:
[{
...
...
@@ -516,6 +517,18 @@
handleToArticle
(){
},
getArticleInfoData
(){
api
.
getArticleListAxios
().
then
((
res
)
=>
{
if
(
res
.
code
==
0
){
this
.
articleList
=
res
.
result
;
}
else
{
this
.
$toast
(
res
.
msg
)
}
}).
catch
((
err
)
=>
{
this
.
$toast
(
err
)
})
}
...
...
@@ -526,6 +539,7 @@
this
.
getActiveInfoData
();
this
.
getProjectInfoData
();
this
.
getDocumentFunc
();
// this.getArticleInfoData();
},
beforeRouteEnter
(
to
,
from
,
next
)
{
next
(
vm
=>
{
// 这里的vm指的就是vue实例,可以用来当做this使用
...
...
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