Authored by 陈峰

Merge branch 'hotfix/promise' into 'gray'

fix promise not defined



See merge request !1530
1 { 1 {
2 "name": "yohobuywap-node", 2 "name": "yohobuywap-node",
3 - "version": "6.7.1", 3 + "version": "6.7.2",
4 "private": true, 4 "private": true,
5 "description": "A New Yohobuy Project With Express", 5 "description": "A New Yohobuy Project With Express",
6 "repository": { 6 "repository": {
@@ -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 = () => {