ant-design-vue/examples/App.vue

46 lines
993 B
Vue
Raw Normal View History

2020-03-23 03:00:24 +00:00
<template>
2020-07-21 06:34:46 +00:00
<div>
<a-card
title="测试"
:tab-props="{ size: 'small' }"
:tab-list="[
{ key: 'tab1', tab: 'tab1' },
{ key: 'tab2', tab: 'tab2' },
]"
/>
<a-card
title="测试"
:tab-props="{ size: 'large' }"
:tab-list="[
{ key: 'tab1', tab: 'tab1' },
{ key: 'tab2', tab: 'tab2' },
]"
/>
<a-card
title="测试"
:tab-props="{}"
:tab-list="[
{ key: 'tab1', tab: 'tab1' },
{ key: 'tab2', tab: 'tab2' },
]"
/>
<a-card
title="测试"
:tab-props="{ size: 'default' }"
:tab-list="[
{ key: 'tab1', tab: 'tab1' },
{ key: 'tab2', tab: 'tab2' },
]"
/>
2020-07-21 06:34:46 +00:00
</div>
2020-03-23 03:00:24 +00:00
</template>
<script>
export default {
2020-07-21 06:34:46 +00:00
data() {
return {
2020-07-21 06:34:46 +00:00
text: `A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.`,
};
},
2020-03-23 03:00:24 +00:00
};
</script>