Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
yyq
2019-02-26 09:52:53 +0800
Commit
5a143ed5edd67f4169d82004f9a803f01e6ad27e
2 parents
fe0c9d66
c920783d
Merge branch 'master' of git.yoho.cn:fe/yoho-community-web
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
3 deletions
apps/pages/article/components/article/article.vue
config/api-map.js
config/ssr-routes.js
apps/pages/article/components/article/article.vue
View file @
5a143ed
...
...
@@ -27,8 +27,8 @@
<div :id="`ph${data.index}`"></div>
</template>
</LayoutRecycleList>
<div class="thumbs">
<slot name="thumb" v-if="showThumb"></slot>
<div class="thumbs" v-if="showThumb">
<slot name="thumb"></slot>
</div>
</Layout>
<ArticleActionSheet v-if="showArticleDetailAction" ref="actionSheet"></ArticleActionSheet>
...
...
config/api-map.js
View file @
5a143ed
...
...
@@ -17,6 +17,7 @@ module.exports = {
},
'/api/grass/columnArticleDetail'
:
{
api
:
'app.grass.columnArticleDetail'
,
cache
:
true
,
auth
:
true
,
params
:
{
page
:
{
type
:
Number
,
require
:
false
},
...
...
config/ssr-routes.js
View file @
5a143ed
module
.
exports
=
[
{
route
:
/grass
\/
article
\/\d
+/
,
route
:
/grass
\/
article
\/\d
+$/
,
cacheKey
:
'$url$params'
,
cache
:
true
},
{
route
:
/grass
\/
article
\/\d
+
\/
user/
,
cacheKey
:
'$url$params'
,
cache
:
true
},
...
...
Please
register
or
login
to post a comment