2019年10月17日
摘要: 1.监听hash值的变化 window.onhashchange=function(){ console.log("hash值改变了"+window.location.hash); } window.onhashchange=function(){ console.log("hash值改变了"+wi 阅读全文
posted @ 2019-10-17 23:08 宅到深夜 阅读(167) 评论(0) 推荐(0)
摘要: v-model 双向绑定数据,v-model=“data”写在html的表单标签中,计算属性中的函数有get和set的双向绑定数据方法,所以可以将v-model的值作为计算属性中的函数名 阅读全文
posted @ 2019-10-17 17:37 宅到深夜 阅读(9518) 评论(0) 推荐(0)