摘要: data(){ return{ crux:[] //声明下变量 } }, mounted:function(){ var cruxs = localStorage.historyItems.split(","); this.crux = cruxs; //把需要绑定的变量,赋值给data... 阅读全文
posted @ 2018-06-12 17:46 javahcke 阅读(5414) 评论(0) 推荐(0) 编辑