|
|
@ -183,8 +183,8 @@ function getJkTags(datas){ |
|
|
|
let str = it.name; |
|
|
|
let str = it.name; |
|
|
|
let regex = /\[(.*?)\]/; |
|
|
|
let regex = /\[(.*?)\]/; |
|
|
|
let match = str.match(regex); |
|
|
|
let match = str.match(regex); |
|
|
|
if (match) { |
|
|
|
if (match && match[1].trim()) { |
|
|
|
let tag = '[' + match[1] + ']'; |
|
|
|
let tag = '[' + match[1].trim() + ']'; |
|
|
|
if(tags.indexOf(tag)==-1){ |
|
|
|
if(tags.indexOf(tag)==-1){ |
|
|
|
tags.push(tag); |
|
|
|
tags.push(tag); |
|
|
|
} |
|
|
|
} |
|
|
|