naive-ui/packages/common/AdvanceTable/utils.js

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)
}