docs: test style contamination (#5648)

This commit is contained in:
啝裳 2022-01-26 15:56:56 +08:00 committed by GitHub
parent 61dc3823dd
commit 12caac28eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<template>
<div class="block">
<span class="demonstration"
<div class="example-block">
<span class="example-demonstration"
>Child options expand when clicked (default)</span
>
<el-cascader
@ -9,8 +9,8 @@
@change="handleChange"
></el-cascader>
</div>
<div class="block">
<span class="demonstration">Child options expand when hovered</span>
<div class="example-block">
<span class="example-demonstration">Child options expand when hovered</span>
<el-cascader
v-model="value"
:options="options"
@ -304,10 +304,10 @@ const options = [
</script>
<style lang="scss" scoped>
.block {
.example-block {
margin: 1rem;
}
.demonstration {
.example-demonstration {
margin: 1rem;
}
</style>