|
|
@@ -51,8 +51,30 @@ Vue.prototype.$msg = (data)=>{
|
|
|
...data
|
|
|
});
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
+Vue.prototype.$msg.success = (string)=>{
|
|
|
+ return Message.success({
|
|
|
+ offset:100,
|
|
|
+ message: string
|
|
|
+ });
|
|
|
+}
|
|
|
+Vue.prototype.$msg.warning = (string)=>{
|
|
|
+ return Message.warning({
|
|
|
+ offset:100,
|
|
|
+ message: string
|
|
|
+ });
|
|
|
+}
|
|
|
+Vue.prototype.$msg.message = (string)=>{
|
|
|
+ return Message.message({
|
|
|
+ offset:100,
|
|
|
+ message: string
|
|
|
+ });
|
|
|
+}
|
|
|
+Vue.prototype.$msg.error = (string)=>{
|
|
|
+ return Message.error({
|
|
|
+ offset:100,
|
|
|
+ message: string
|
|
|
+ });
|
|
|
+}
|
|
|
|
|
|
Vue.prototype.$videoImg =
|
|
|
"?x-oss-process=video/snapshot,t_0,f_jpg,w_0,h_0,m_fast,ar_auto";
|