You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- /* eslint-disable */
- var array = require('../wxs/array.wxs');
-
- function isActive (activeList, itemId) {
- if (array.isArray(activeList)) {
- return activeList.indexOf(itemId) > -1;
- }
-
- return activeList === itemId;
- }
-
- module.exports.isActive = isActive;
|