|
@@ -56,6 +56,9 @@ export function checkStr (currentStr, strList) {
|
|
|
if (!currentStr || !strList) return false
|
|
|
let list = strList.split(',')
|
|
|
let index = list.findIndex(item => item === currentStr)
|
|
|
+ // console.log('strList: ' + strList)
|
|
|
+ // console.log('currentUser: ' + currentStr)
|
|
|
+ // console.log('index: ' + index)
|
|
|
return index > -1
|
|
|
}
|
|
|
|