摘要: component 内的 activate , data , ready , 一类的东西只有在第一次初始化的时候才会被运行 如果router检测到你切换的url是用的同一个组件的时候 他是不会去把同一个component初始化一次的 比如说 /file/:fileId { component:fil 阅读全文
posted @ 2018-02-28 15:54 阿星小栈 阅读(158) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/gagag/p/6246493.html 阅读全文
posted @ 2018-02-28 15:49 阿星小栈 阅读(121) 评论(0) 推荐(0) 编辑
摘要: watch: { orgTreeShow(val){ if(val){ this.employeesShow = false; }else{ this.loadEmployees() } } }, be... 阅读全文
posted @ 2018-02-28 15:38 阿星小栈 阅读(173) 评论(0) 推荐(0) 编辑
摘要: http://www.jb51.net/article/81005.htm 阅读全文
posted @ 2018-02-28 15:05 阿星小栈 阅读(100) 评论(0) 推荐(0) 编辑