This commit is contained in:
Ling53666
2025-08-18 09:11:51 +08:00
commit 02554225da
2516 changed files with 133155 additions and 0 deletions

View File

@ -0,0 +1,23 @@
function isActive(current, index, disabled) {
if (disabled) {
return false;
}
return (current || []).indexOf(index) >= 0;
}
function getStyleHeight(index, contentHeight, disabled) {
if (disabled) {
return 'height: 0px';
}
var height = contentHeight[index];
if (height === '') {
return '';
}
if (height) {
return "height: ".concat(height);
}
return 'height: 0px';
}
export default {
isActive: isActive,
getStyleHeight: getStyleHeight
};