Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beyond-clouds-front
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
beyond-clouds-front
Commits
5d3ba7b1
Commit
5d3ba7b1
authored
Mar 07, 2020
by
yanju
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-issue#15' into 'master'
修复博客置顶功能 See merge request pigbigbig/beyond-clouds-front!144
parents
7d2b04cf
72a4b8de
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
components/pc/projectCard.vue
+1
-3
pages/answer/index.vue
+3
-0
pages/blog/index.vue
+3
-0
pages/project/index.vue
+3
-0
No files found.
components/pc/projectCard.vue
View file @
5d3ba7b1
...
...
@@ -123,7 +123,6 @@
},
created
(){
this
.
dateGet2Info
();
},
computed
:{
cardState
(){
...
...
@@ -159,8 +158,7 @@
this
.
cardType
=
2
;
this
.
status
=
info
.
status
;
this
.
praiseNum
=
info
.
praiseNum
;
this
.
priority
=
info
.
priority
||
info
.
categoryPriority
;
this
.
priority
=
this
.
$route
.
query
.
type
===
'all'
?
info
.
priority
:
info
.
categoryPriority
;
}
if
(
this
.
info
.
projectId
){
this
.
cardName
=
info
.
projectName
;
...
...
pages/answer/index.vue
View file @
5d3ba7b1
...
...
@@ -132,6 +132,9 @@ export default {
},
getLabelTitle
(){
let
type
=
this
.
$route
.
query
.
type
;
if
(
type
!==
'all'
){
type
=
Number
(
type
)
}
this
.
list
.
map
((
val
,
index
)
=>
{
if
(
val
.
type
===
type
){
this
.
labelTitle
=
val
.
label
...
...
pages/blog/index.vue
View file @
5d3ba7b1
...
...
@@ -122,6 +122,9 @@ export default {
},
getLabelTitle
(){
let
type
=
this
.
$route
.
query
.
type
;
if
(
type
!==
'all'
){
type
=
Number
(
type
)
}
this
.
list
.
map
((
val
,
index
)
=>
{
if
(
val
.
type
===
type
){
this
.
labelTitle
=
val
.
label
...
...
pages/project/index.vue
View file @
5d3ba7b1
...
...
@@ -130,6 +130,9 @@ export default {
},
getLabelTitle
(){
let
type
=
this
.
$route
.
query
.
type
;
if
(
type
!==
'all'
){
type
=
Number
(
type
)
}
this
.
list
.
map
((
val
,
index
)
=>
{
if
(
val
.
type
===
type
){
this
.
labelTitle
=
val
.
label
...
...
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