mylayer-qts
v1.0.16
Published
安装: npm i mylayer-qts
Downloads
5
Readme
安装: npm i mylayer-qts
在main.js中引入:
import 'mylayer-qts/layer.css'
import mylayer from 'mylayer-qts'
Vue.prototype.mylayer = mylayer
使用方式:
默认参数:
const obj = {
type: true, // 是否自动关闭
mask: true, // 是否打开遮罩
text: '操作成功' // 提示的文字内容
}
this.mylayer.msgInfo()
效果图: