@@ -54,25 +54,29 @@ Vue.prototype.$msg = (data)=>{
Vue.prototype.$msg.success = (string)=>{
return Message.success({
offset:100,
- message: string
+ message: string,
+ duration: 1000
});
}
Vue.prototype.$msg.warning = (string)=>{
return Message.warning({
Vue.prototype.$msg.message = (string)=>{
return Message.message({
Vue.prototype.$msg.error = (string)=>{
return Message.error({