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