mirror of
https://gitee.com/element-plus/element-plus.git
synced 2024-12-12 12:25:22 +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>
|
<template>
|
||||||
<el-cascader :props="props" />
|
<el-cascader :props="props" />
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts" setup>
|
||||||
export default {
|
const props = { multiple: true }
|
||||||
setup() {
|
|
||||||
return {
|
|
||||||
props: {
|
|
||||||
// props.
|
|
||||||
multiple: true,
|
|
||||||
},
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
</script>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user