zy-notify
v1.0.0
Published
``` 基于element-plus的notify封装单例模式、防抖,支持全局调用 ``` # How to use ``` npm install zy-notify --save 1.使用方式1 import { el_notify } from 'zy-notify' el_notify({ type: 'error', message: '网络错误', title: '提示' }) 2.使用方式2 import notifyPlugin from 'zy-notify
Readme
#Description
基于element-plus的notify封装单例模式、防抖,支持全局调用How to use
npm install zy-notify --save
1.使用方式1
import { el_notify } from 'zy-notify'
el_notify({
type: 'error',
message: '网络错误',
title: '提示'
})
2.使用方式2
import notifyPlugin from 'zy-notify'
this.$notifyMsg({
title: '操作提示',
message: '保存成功',
type: 'success'
})