[improvement] Tab: support string type of line-width & line-height (#3514)

This commit is contained in:
neverland
2019-06-14 17:29:30 +08:00
committed by GitHub
parent c05124b3ec
commit 7fbf943a2d
11 changed files with 52 additions and 58 deletions
+4 -4
View File
@@ -129,10 +129,10 @@ test('render nav-left & nav-right slot', async () => {
});
test('border props', async () => {
const wrapper = mount({
template: `
<van-tabs :border="false" />
`,
const wrapper = mount(Tabs, {
propsData: {
border: false
}
});
expect(wrapper).toMatchSnapshot();