docs(components): [cascader] doc description use setup (#15557)

This commit is contained in:
wzc520pyfm 2024-01-17 17:00:25 +08:00 committed by GitHub
parent f8f9620bdb
commit 7d0c0985f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,17 +63,8 @@ Do:
<template>
<el-cascader :props="props" />
</template>
<script lang="ts">
export default {
setup() {
return {
props: {
// props.
multiple: true,
},
}
},
}
<script lang="ts" setup>
const props = { multiple: true }
</script>
```