File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load diff This file was deleted.
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ import eventBus from '@/config/eventBus'
2323import store from '@/store'
2424import { sourceToken } from '@/utils/request'
2525import { toLocalDate , toLocaleDate } from '@/utils/date'
26- import { logApiError } from '@/utils/apiError'
2726
2827export const pollJobPlugin = {
2928 install ( app ) {
@@ -218,7 +217,6 @@ export const pollJobPlugin = {
218217export const notifierPlugin = {
219218 install ( app ) {
220219 app . config . globalProperties . $notifyError = function ( error ) {
221- logApiError ( error )
222220 var msg = i18n . global . t ( 'message.request.failed' )
223221 var desc = ''
224222 if ( error && error . response ) {
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ import notification from 'ant-design-vue/es/notification'
2424import { CURRENT_PROJECT } from '@/store/mutation-types'
2525import { i18n } from '@/locales'
2626import store from '@/store'
27- import { logApiError } from '@/utils/apiError'
2827
2928let source
3029const service = axios . create ( {
@@ -34,7 +33,6 @@ const service = axios.create({
3433const err = ( error ) => {
3534 const response = error . response
3635 let countNotify = store . getters . countNotify
37- logApiError ( error )
3836 if ( response ) {
3937 if ( response . status === 403 ) {
4038 const data = response . data
Load diff This file was deleted.
You can’t perform that action at this time.
0 commit comments