const store = new Vuex.store({
state:{
allList:[],
note:{
title:'',
content:'',
markdown:''
}
},
是因为尝试将不是构造器的对象或者变量来作为构造器使用。参考 constructor 或者 new operator 来了解什么是构造器。
因为Store的S小写了。
const store = new Vuex.store({
state:{
allList:[],
note:{
title:'',
content:'',
markdown:''
}
},
是因为尝试将不是构造器的对象或者变量来作为构造器使用。参考 constructor 或者 new operator 来了解什么是构造器。
因为Store的S小写了。