Sfoglia il codice sorgente

refactor(utils/ygoa): $modal.confirm 添加catch 忽略 error

wangpx 1 anno fa
parent
commit
4866ea1115
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      utils/ygoa.js

+ 1 - 1
utils/ygoa.js

@@ -78,5 +78,5 @@ export function clearCache() {
 			icon: 'success',
 			duration: 2000
 		});
-	})
+	}).catch(()=>{})
 }