补充 useState 和 useBoolean 使用文档

This commit is contained in:
就眠儀式 2021-12-08 09:32:19 +08:00
parent 5dcdf5c206
commit 4708732d6e
2 changed files with 24 additions and 2 deletions

View File

@ -19,3 +19,14 @@ export default {
}
</script>
```
::: title 使用备注
:::
::: table
| 备注 | 描述 | 类型 |
| ---- | -------------- | ----------- |
| setTrue | 设置值为 true | -- |
| setFalse | 设置值为 false | -- |
:::

View File

@ -19,3 +19,14 @@ export default {
}
</script>
```
::: title 使用备注
:::
::: table
| 备注 | 描述 | 类型 |
| ---- | -------------- | ----------- |
| state | 值本身 | -- |
| setState | 设置值 | -- |
:::