How to remove the console errors in axios?

前端 未结 1 1428
感情败类
感情败类 2021-01-20 01:51

Here\'s my code:

async [types.GET_DATA]({commit, state}, data) {
    try {
        const res = await axios.post(\'/login\', {
            email: data.email,
         


        
相关标签:
1条回答
  • 2021-01-20 02:40

    It is actually impossible to do with JavaScript. This is due to security concerns and a potential for a script to hide its activity from the user.

    The best you can do is hide them from your console.

    0 讨论(0)
提交回复
热议问题