docs: add scoped option in example file (#3747)

This commit is contained in:
Leon-kfd 2021-09-30 19:26:15 +08:00 committed by GitHub
parent ae092f772d
commit 1ec7914df8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<div v-for="o in 4" :key="o" class="text item">{{ 'List item ' + o }}</div>
</el-card>
</template>
<style>
<style scoped>
.text {
font-size: 14px;
}

View File

@ -108,7 +108,7 @@
</div>
</template>
<style lang="scss">
<style lang="scss" scoped>
.box {
width: 400px;