xinfeng 6 лет назад
Родитель
Сommit
39fd74fa1d
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      plugins/nuxtAxios.js

+ 2 - 2
plugins/nuxtAxios.js

@@ -115,7 +115,7 @@ export default function({ $axios, redirect, req, ...args }) {
 		} else {
         Vue.prototype.$message.closeAll()
 				Vue.prototype.$message.error(data.info)
-			}
+			// }
 			// return data;
 		}
 		return res;
@@ -126,5 +126,5 @@ export default function({ $axios, redirect, req, ...args }) {
 		//   if (code === 400) {
 		//     redirect('/400')
 		//   }
-	});
+	})
 }