File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -280,17 +280,26 @@ export default {
280280 .catch ((e2 ) => {
281281 $this .downloading = false
282282
283- if (e2 .response ) {
284- if (e2 .response .status >= 400 && e2 .response .status < 500 ) {
283+ if (e2 .response ) {
284+ if (
285+ e2 .response .status >= 400 &&
286+ e2 .response .status < 500
287+ ) {
285288 // eslint-disable-next-line no-alert
286289 alert (e2 .response .data )
287290 } else {
288291 console .error (e2)
289- alert (t (" cookbook" , " The server reported an error. Please check." ))
292+ alert (
293+ // prettier-ignore
294+ t (" cookbook" ," The server reported an error. Please check." )
295+ )
290296 }
291297 } else {
292298 console .error (e2)
293- alert (t (' cookbook' , ' Could not query the server. This might be a network problem.' ))
299+ alert (
300+ // prettier-ignore
301+ t (" cookbook" , " Could not query the server. This might be a network problem." )
302+ )
294303 }
295304 })
296305 },
You can’t perform that action at this time.
0 commit comments