# ht.notify 说明
ht.notify.js
自定义消息提示框工具
Author
andy.ten@tom.com & xukaixing@hotmail.com
# API
# Notify Methods
方法名 | 说明 | 参数 | 示例 |
---|---|---|---|
message | 中间顶部消息 | (msg = '暂无...', type = 'warning', tableedit = false) | this.$notify.message('消息提示'); 消息类型:success/warning/info/error |
alert | 右侧侧边消息 | (msg = '暂无...', type = 'success', title = ‘提示信息’) | this.$notify.alert('消息提示'); 消息类型:success/warning/info/error |
confirm | 确认框提示 | (msg = '确认进行此操作?', type = 'warning') | this.$notify.confirm('是否更改?') .then(()=>{...}).catch(() => {...}) |
# 版本
- v1.0.7