You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
import Vue from 'vue'
import App from './App.vue'
var b = document.querySelectorAll('.dd')
console.log(b.length)
var a = [...b]
a.forEach(function (item) {
})
new Vue({
render: h => h(App)
}).$mount('#app')
What is expected?
可在Android 4.4.4上运行
What is actually happening?
var b = document.querySelectorAll('.dd')
var a = [...b]
不支持如上的es6语法转化。
Version
3.2.0
Reproduction link
https://codesandbox.io/s/pjqk6plz3m
Environment info
Steps to reproduce
main.js 增加
What is expected?
可在Android 4.4.4上运行
What is actually happening?
var b = document.querySelectorAll('.dd')
var a = [...b]
不支持如上的es6语法转化。
我尝试着重新初始化一个babel的项目
.babeklrc
index.js
lib/index.js
babel转化时"useBuiltIns": "usage"生效。增加了es6.array.from。但是vue-cli的'@vue/app',观察debug时,并没有识别到。
The text was updated successfully, but these errors were encountered: