邃芒智像相册
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 

13 rader
259 B

  1. /* eslint-disable */
  2. var array = require('../wxs/array.wxs');
  3. function isActive (activeList, itemId) {
  4. if (array.isArray(activeList)) {
  5. return activeList.indexOf(itemId) > -1;
  6. }
  7. return activeList === itemId;
  8. }
  9. module.exports.isActive = isActive;