(component): 补充 msg 案例说明

This commit is contained in:
就眠儀式
2022-10-14 22:09:17 +08:00
parent b4db47988b
commit 7057e4894f
3 changed files with 5 additions and 6 deletions

View File

@@ -10,7 +10,7 @@
::: title 基础使用
:::
::: demo
::: demo 通过 layer.msg 方法, 创建一个提示框。
<template>
<lay-button type="primary" @click="openMsg">普通消息</lay-button>
@@ -36,7 +36,7 @@ export default {
::: title 指定图标
:::
::: demo
::: demo 使用 `time``icon` 属性, 设置显示事件与图标。
<template>
<lay-button type="primary" @click="openSuccess">成功消息</lay-button>