处理Vue is a constructor and should be called with the `new` keyword

找了半天,发现本身使用Vue.user()出错了。html import Vuex from 'vuex' import Vue from 'vue' Vue.use(Vuex) Vue.use(Vue)把上面的Vue.user(Vue)删除就对了
相关文章
相关标签/搜索