forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-08-14 3026c9719ae426ff7a35130b0db5a18b814d3517
1
2
3
4
5
6
7
8
9
10
11
12
/* 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;