Commit d13618aa authored by houjn@hikoon.cn's avatar houjn@hikoon.cn
parents 77757482 63d91de7
...@@ -93,7 +93,9 @@ export default { ...@@ -93,7 +93,9 @@ export default {
}, },
computed:{ computed:{
printTags(){ printTags(){
return this.tags.filter(tag => tag.num >= this.form.start && tag.num <= this.form.end) return this.tags.filter(tag => {
return +tag.num >= +this.form.start && +tag.num <= +this.form.end
})
}, },
detail(){ detail(){
return this.tags.length ? this.tags[0] : null return this.tags.length ? this.tags[0] : null
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment