소스 검색

chore(js-cli) remove test code from tauri.js template

Lucas 5 년 전
부모
커밋
bf3c5b0587
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cli/tauri.js/templates/tauri.js

+ 1 - 1
cli/tauri.js/templates/tauri.js

@@ -389,7 +389,7 @@ document.addEventListener('error', function (e) {
       window.tauri.loadAsset(target.src, 'image')
         .then(img => {
           target.src = img
-        }).catch(alert)
+        })
       break
     }
     target = target.parentElement