0.0.1 • Published 4 years ago
@vuni/toast v0.0.1
Toast
指令式 API
基础用法
showToast('提示');showToast({
content: 'Hello World',
afterClose: () => {
console.log('after');
}
});图标
成功
showToast({
icon: 'success',
content: '保存成功'
});失败
showToast({
icon: 'fail',
content: '名称已存在'
});0.0.1
4 years ago