mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-14 01:11:25 +08:00
62f1135768
* feat(form): add form component fix #125 * test(form): add test code * docs(form): add form doc * feat: add uitls merge * fix(form): fix style * test(form): add form test code * refactor(form): review changes * test(form): use idiomatic vue-test-util methods * feat(core): bump vue version * feat(form): rewrite label wrap * feat(form): fix tons of bugs * fix(form): reuse ts extension * refactor(form): move out label width computation * fix(form): fix tons of bugs * fix(form): test Co-authored-by: 286506460 <286506460@qq.com>
14 lines
271 B
TypeScript
14 lines
271 B
TypeScript
import { config } from '@vue/test-utils'
|
|
|
|
const stylePlugin = (wrapper: any) => {
|
|
return {
|
|
style: wrapper.element.style,
|
|
}
|
|
}
|
|
|
|
export default function install() {
|
|
config.plugins.DOMWrapper.install(stylePlugin)
|
|
config.plugins.VueWrapper.install(stylePlugin)
|
|
}
|
|
|