naive-ui/packages/common/AdvanceTable/utils.js
songwanli2025@163.com 4f90dd3b05 merge from upstream
2019-12-17 14:36:37 +08:00

15 lines
320 B
JavaScript

/*
* @Author: Volankey@gmail.com
* @Company: Tusimple
* @Date: 2019-10-24 18:07:27
* @LastEditors: Jiwen.bai
* @LastEditTime: 2019-10-24 18:07:27
*/
export const removeClass = (dom, className) => {
dom.classList.remove(className)
}
export const addClass = (dom, className) => {
dom.classList.add(className)
}