docs(components): check docs before stable (#5740)

This commit is contained in:
C.Y.Kun
2022-01-31 23:43:56 +08:00
committed by GitHub
parent 4501b6dd66
commit b46bdae9e6
103 changed files with 1244 additions and 767 deletions

View File

@ -1,5 +1,5 @@
<template>
<el-tabs v-model="activeName" @tab-click="handleClick">
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
<el-tab-pane label="User" name="first">User</el-tab-pane>
<el-tab-pane label="Config" name="second">Config</el-tab-pane>
<el-tab-pane label="Role" name="third">Role</el-tab-pane>
@ -15,3 +15,12 @@ const handleClick = (tab: string, event: Event) => {
console.log(tab, event)
}
</script>
<style>
.demo-tabs > .el-tabs__content {
padding: 32px;
background-color: #f4f5f7;
color: #6b778c;
font-size: 32px;
font-weight: 600;
}
</style>