补充 layer 文档

This commit is contained in:
就眠儀式
2021-12-09 14:11:29 +08:00
parent 574e488f89
commit aa04ac9ad1
4 changed files with 60 additions and 1 deletions

View File

@@ -71,4 +71,23 @@ export default {
}
</script>
:::
::: title 组件方法
:::
```
layer.msg(content, options)
```
::: title 组件属性
:::
::: table
| 属性 | 描述 | 备注 |
| ------------------- | ------ | ----|
| content | 消息内容 | -- |
| options | 选配属性 | { time: 加载时长, icon: 图标 } |
:::