data(){
return{
crux:[] //声明下变量
}
},
mounted:function(){
var cruxs = localStorage.historyItems.split(",");
this.crux = cruxs; //把需要绑定的变量,赋值给data里面声明的变量 },
2023-08-12 16:00:58
data(){
return{
crux:[] //声明下变量
}
},
mounted:function(){
var cruxs = localStorage.historyItems.split(",");
this.crux = cruxs; //把需要绑定的变量,赋值给data里面声明的变量 },