Commit 63d91de7 authored by dragondean@qq.com's avatar dragondean@qq.com

修复打印标签部分场景异常

parent 32e280c1
...@@ -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