為什么第二種報(bào)錯(cuò),https://developer.mozilla.org... MDN上兩種優(yōu)先級(jí)好像一樣啊new (Vue.extend({ mixins: [myMixin]
}))// 報(bào)錯(cuò) Uncaught TypeError: Cannot read property 'name' of
// undefined
// at new Vue.extend (vue.js:3425)new Vue.extend({
mixins: [myMixin]
})
new 和 函數(shù)調(diào)用的優(yōu)先級(jí)
紅糖糍粑
2018-10-19 13:10:09