Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

vue-message-confirm

1.0.6 • Public • Published

Installing

npm install vue-message-confirm

Usage

main.js  文件引入
import message from 'vue-message-confirm'
Vue.use(message)


使用说明
/*
  isShowCancelBtn: true 有取消按钮
  .then((val) => {})  点击确认按钮的回调
  .catch((val) => {}) 点击取消按钮的回调
 */
this.$msgBox.showMsgBox({
     content: '续报已截止,不能更改续报关联班级',
     isShowCancelBtn: false 
    }).then((val) => {})
      .catch((val) => {})

Install

npm i vue-message-confirm

DownloadsWeekly Downloads

3

Version

1.0.6

License

ISC

Unpacked Size

5.72 kB

Total Files

5

Last publish

Collaborators

  • avatar