@@ -606,7 +606,7 @@ export default {
606
606
if (e .response .data .message ) {
607
607
this .$Notice .error ({title: ' Error' , desc: e .response .data .message .toString ()})
608
608
} else {
609
- this .$Notice .error ({title: ' Error' , desc: ' Instace Not Generated ' })
609
+ this .$Notice .error ({title: ' Error' , desc: e . message })
610
610
}
611
611
})
612
612
} else {
@@ -656,11 +656,11 @@ export default {
656
656
}, 1000 )
657
657
})
658
658
.catch ((err ) => {
659
+ this .$Notice .error ({duration: ' 3' , title: err .message , desc: ' ' })
659
660
setTimeout (() => {
660
661
this .sendDataEmail = this .$refs .schemasubformview .$el .outerHTML
661
662
this .email = true
662
663
this .loadEmail = false
663
- console .log (err)
664
664
}, 1000 )
665
665
})
666
666
} else {
@@ -770,7 +770,7 @@ export default {
770
770
this .validErr = []
771
771
this .isEmailDone = false
772
772
}).catch (err => {
773
- console . log ( ' Error ' , err)
773
+ this . $Notice . error ({duration : ' 3 ' , title : err . message , desc : ' ' } )
774
774
this .$Loading .finish ()
775
775
this .bLoading = false
776
776
this .email = false
@@ -935,7 +935,7 @@ export default {
935
935
.then ((res ) => {
936
936
return (res .data .data [0 ])
937
937
}).catch (err => {
938
- console . log ( ' Error : ' , err)
938
+ this . $Notice . error ({duration : ' 3 ' , title : err . message , desc : ' ' } )
939
939
this .dataLoading = false
940
940
return
941
941
})
@@ -945,7 +945,7 @@ export default {
945
945
return schemaModel .getAll (this .flowzData .schema ).then (res => {
946
946
return res
947
947
}).catch (err => {
948
- console . log ( ' Error : ' , err)
948
+ this . $Notice . error ({duration : ' 3 ' , title : err . message , desc : ' ' } )
949
949
this .dataLoading = false
950
950
return
951
951
})
@@ -991,7 +991,7 @@ export default {
991
991
this .$Loading .finish ()
992
992
}
993
993
}).catch (err => {
994
- console . error (' Error : ' , err)
994
+ this . $Notice . error ({duration : ' 3 ' , title : err . message , desc : ' ' } )
995
995
this .$Loading .error ()
996
996
this .dataLoading = false
997
997
})
0 commit comments