* refactor(utils): getAttribute replace className * test: add dom test * fix(utils): update trimArr and test * chore: includes replace indexOf * chore: modify judge