摘要: ``` import React from 'react'; import ReactDom from 'react-dom' class App extends React.Component{ constructor(){ super(); // this.show = this.show.bind(this);//√ 显示绑定 // this.show2 = ... 阅读全文
posted @ 2019-07-08 22:30 进击的三三 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 当父属性传递的是arr,num,str,json时候 列表渲染 阅读全文
posted @ 2019-07-08 22:10 进击的三三 阅读(172) 评论(0) 推荐(0) 编辑
摘要: es6类 多个组件嵌套 阅读全文
posted @ 2019-07-08 15:11 进击的三三 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 1. vue create xx 2. 修改目录结构 public | index.html | page1.html | pageN.html src pages page1 | page1.js ~~ main.js | page1.vue ~~ app.vue pageN | ..... | 阅读全文
posted @ 2019-07-08 10:01 进击的三三 阅读(2633) 评论(0) 推荐(0) 编辑