mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-03 11:47:48 +08:00
docs(components): [cascader] doc description use setup (#15557)
This commit is contained in:
parent
f8f9620bdb
commit
7d0c0985f6
@ -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>
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user