Sfoglia il codice sorgente

fixed 健康護照沒照片問題

VicCG.Lin 10 mesi fa
parent
commit
69e4602dd8
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      src/fe/healthpassport/js/register.js

+ 1
- 1
src/fe/healthpassport/js/register.js Vedi File

@@ -81,7 +81,7 @@ function useRegister(delegate) {
81 81
 
82 82
 		linePicUrl = url;
83 83
 		const imageURL = linePicUrl;
84
-		if(imageURL.trim() !== '') {
84
+		if(imageURL !== '') {
85 85
 			const img = new Image();
86 86
 			img.crossOrigin = 'anonymous';
87 87
 			img.onload = function() {