|
|
@@ -5,7 +5,11 @@ export default {
|
|
|
},
|
|
|
checkUse(info, collectionId = 0) {
|
|
|
if (collectionId && info.limited) {
|
|
|
- return [...info.collectionIds].includes(collectionId);
|
|
|
+ return [...info.collectionIds]
|
|
|
+ .map(item => {
|
|
|
+ return Number(item);
|
|
|
+ })
|
|
|
+ .includes(Number(collectionId));
|
|
|
} else {
|
|
|
return true;
|
|
|
}
|