fix promise not defined
Showing
2 changed files
with
3 additions
and
1 deletions
@@ -2,6 +2,8 @@ import './js/common'; | @@ -2,6 +2,8 @@ import './js/common'; | ||
2 | import './js/global'; | 2 | import './js/global'; |
3 | import './scss/common.scss'; | 3 | import './scss/common.scss'; |
4 | 4 | ||
5 | +window.Promise = Promise; | ||
6 | + | ||
5 | import './yoho.pages'; | 7 | import './yoho.pages'; |
6 | 8 | ||
7 | window.justGenerate = () => { | 9 | window.justGenerate = () => { |
-
Please register or login to post a comment