@prettyy/ui

0.1.33 • 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()

Dependents (0)

Package Sidebar

Install

npm i @prettyy/ui

Weekly Downloads

9

Version

0.1.33

License

none

Unpacked Size

1.32 MB

Total Files

86

Last publish

Collaborators

  • prettyy