[new feature] TreeSelect: support string type of height prop (#4107)

This commit is contained in:
neverland
2019-08-13 12:00:50 +08:00
committed by GitHub
parent 7ad5323836
commit 2843352adb
5 changed files with 23 additions and 6 deletions

View File

@@ -141,3 +141,13 @@ test('content slot', () => {
expect(wrapper).toMatchSnapshot();
});
test('height prop', () => {
const wrapper = mount(TreeSelect, {
propsData: {
height: '100vh'
}
});
expect(wrapper).toMatchSnapshot();
});