jinxia.mo 2 years ago
parent
commit
c025c4981f
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/main.js

+ 4 - 0
src/main.js

@@ -1,3 +1,7 @@
+import 'babel-polyfill'
+import Es6Promise from 'es6-promise'
+Es6Promise.polyfill()
+require('es6-promise').polyfill()
 import Vue from 'vue'
 import Vue from 'vue'
 
 
 // use code below to debug in mobile devices.
 // use code below to debug in mobile devices.