小程序npm和node模块

This commit is contained in:
Abin
2026-01-05 18:07:10 +08:00
parent a07c8f7ef9
commit 66b2e3ddac
1402 changed files with 35461 additions and 0 deletions
+12
View File
@@ -0,0 +1,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;