|
@@ -76,7 +76,7 @@ var keywordComponent = {
|
|
|
useKeyCard: {
|
|
|
type: Boolean,
|
|
|
default: false
|
|
|
- },
|
|
|
+ },
|
|
|
"selectkeywordlist": {
|
|
|
type: Array,
|
|
|
default: function () {
|
|
@@ -267,7 +267,7 @@ var keywordComponent = {
|
|
|
}
|
|
|
]
|
|
|
let data = initArr
|
|
|
-
|
|
|
+
|
|
|
let maxarr = []
|
|
|
data.forEach(function(item,index) {
|
|
|
let minarr = []
|
|
@@ -463,8 +463,8 @@ var keywordComponent = {
|
|
|
} else {
|
|
|
data.notkey = []
|
|
|
}
|
|
|
- if(!data.matchway) {
|
|
|
- data.matchway = []
|
|
|
+ if (typeof data.matchway !== 'number' || typeof data.matchway !== 'string') {
|
|
|
+ data.matchway = 0
|
|
|
}
|
|
|
classify.a_key.push({
|
|
|
key: data.text.split(' '),
|
|
@@ -504,4 +504,4 @@ var keywordComponent = {
|
|
|
return count
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
+}
|