Explorar el Código

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

wangpx hace 1 año
padre
commit
4866ea1115
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      utils/ygoa.js

+ 1 - 1
utils/ygoa.js

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