07 2018 档案

摘要:http://nec.netease.com/standard/css-practice.html 阅读全文
posted @ 2018-07-31 17:26 suanmei 阅读(85) 评论(0) 推荐(0)
摘要:$.extend(true,{},{apple: 0,banana: {weight: 52, price: 100},cherry: 97}) https://www.jianshu.com/p/e01b31f8e707 深度拷贝 会拷贝对象里面的对象 阅读全文
posted @ 2018-07-27 11:17 suanmei 阅读(120) 评论(0) 推荐(0)
摘要:<div id="app"> <div> <span>姓名</span> <input type="text" placeholder="请输入姓名" v-model="newStudent.name"> </div> <div> <span>年龄</span> <input type="text" 阅读全文
posted @ 2018-07-25 16:20 suanmei 阅读(116) 评论(0) 推荐(0)
摘要:视图层 vue实例 (vm) 数据层 1、 v-model <div id="app"> <p> {{message}} </p> <input type="text" v-model="message"> </div> <script src="./vue.min.js"></script> <s 阅读全文
posted @ 2018-07-24 15:09 suanmei 阅读(100) 评论(0) 推荐(0)
摘要:1、组件的定义 const component = { props: { //外部父组件约束子组件的 里面不要修改 可以通过触发事件来修改 active: Boolean, propOne: String, onChange: Function }, template: '<div @click=" 阅读全文
posted @ 2018-07-16 17:33 suanmei 阅读(243) 评论(0) 推荐(0)