1.0.9 • Published 1 year ago
check-element-interaction v1.0.9
简介 检查某些特定的交互
功能
- 检查el-form当中是否进行监听keydown的事件
- 检查el-table当中是否绑定了v-loading的属性
- 检查el-table-column当中为跳转详情时需要携带复制的功能
安装
npm i check-element-interaction --save-dev
使用
import { checkElementInteraction } from 'check-element-interaction';
export default defineConfig({
plugins: [
checkElementInteraction()
vue(),
],
});
配置
{
/** 控制是否检查el-form的key enter事件 */
isCheckFormEnterKey: boolean;
/** 控制是否检查el-table的loading事件 */
isCheckTableLoading: boolean;
/** 控制是否检查el-form-column的copy功能 */
isCheckTableCopyLink: boolean;
}