@prettyy/ui

0.1.31 • Public • Published

@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()

Package Sidebar

Install

npm i @prettyy/ui

Weekly Downloads

18

Version

0.1.31

License

none

Unpacked Size

1.29 MB

Total Files

82

Last publish

Collaborators

  • prettyy