PC端操作确认提示模态框(依赖于iview)
> actionModal
``bash`
$ npm install action-modal --save
`bash`
import actionModal from 'action-modal';
#### introduce in the Vue
`bash`
:mTitle='删除确认'
:mText='是否删除此数据'
:buttonCancel='取消'
:buttonOk='删除'
@actionOk="myActionFn">
Invoking method
`bash``
//open
this.$refs.actionModal.openModal();
//close
this.$refs.actionModal.openModal(2);
#### mTitle:
模态框标题,默认值为:删除确认,可不传
#### mText:
模态框显示内容文字,默认值为:是否删除此数据,可不传,支持html
#### buttonCancel:
模态框取消按钮显示文字,默认值为:取消,可不传
#### buttonOk:
模态框确认操作按钮显示文字,默认值为:删除,可不传
#### @actionOk:
点击确认后的回调函数,触发父组件自定义函数
For detailed explanation on how things work, consult the docs for action-modal.