@prettyy/ui
v0.1.53
Published
vue2 UI
Downloads
15
Maintainers
Readme
@pretty/ui
安装
npm install @prettyy/ui
引入
import XWUI from '@prettyy/ui'
import '@prettyy/ui/dist/css/index.css'
使用
this.$confirm("确定删除吗?", { type: "warning" });
this.$alert("确定删除吗?", { type: "warning" });
this.$msgbox({
title: '提示',
content: '确定删除吗?',
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning',
showClose: true,
showConfirmButton: true,
showCancelButton: false,
alert: false,
callback: action => {
}
})
this.$message.success('已经删除了')
this.$message.error('已经删除了')
this.$message.info('已经删除了')
this.$message.warning('已经删除了')
const loading = this.$loading()
loading.close()