Alex_TD

上一页 1 2 3 4 5 6 ··· 10 下一页

2020年3月26日

长长的变量刚看完就忘了,怎么读源码理解快?

摘要: 没事 阅读全文

posted @ 2020-03-26 22:11 Alex_TD 阅读(114) 评论(0) 推荐(0) 编辑

2020年3月17日

Springboot----Bean的生命周期

摘要: 1.BeanDefinition接口 :定义bean的属性信息 Root bean: class [org.springframework.context.annotation.ConfigurationClassPostProcessor]; scope=; abstract=false; laz 阅读全文

posted @ 2020-03-17 20:12 Alex_TD 阅读(497) 评论(0) 推荐(0) 编辑
windows操作快捷键

摘要: 复制文件路径: shift+鼠标右键 快速截图: win+shift+s 地址栏: cmd 阅读全文

posted @ 2020-03-17 12:37 Alex_TD 阅读(124) 评论(0) 推荐(0) 编辑

2020年3月15日

vuex状态管理 ---store

摘要: export default new Vue.Store({ state: { count:0, }, mutations: { }, actions: { }, modules:{ } })import {mapStates,mapMutations,mapActions} from 'vuex' 阅读全文

posted @ 2020-03-15 20:29 Alex_TD 阅读(96) 评论(0) 推荐(0) 编辑
vue-router

摘要: 还有个命名视图:router-view 可以加别名name=xxx 路由组件要有相应的组件components:{default: xxx,a:xxxx} $router.options.routes 获取router类的属性 信息; $route.path 获取请求路径相关信息 如:path 和 阅读全文

posted @ 2020-03-15 16:29 Alex_TD 阅读(136) 评论(0) 推荐(0) 编辑
Vue 多层组件传值(最外层组件>中间组件>最内部组件)

摘要: 多层组件传值:(传递属性,传递方法) 1.由最外往最内传值: 最外组件绑定属性:a='5',中间组件绑定v-on='$attrs' 最内组件 this.$attrs获取a=5; 2.由最内往最外传值:通过事件监听: 最内发射事件:this.$emit('b','China'), 中间组件绑定v-on 阅读全文

posted @ 2020-03-15 13:00 Alex_TD 阅读(4636) 评论(0) 推荐(0) 编辑

2020年3月14日

Vue 父子组件传值 (Vue-cli4)

摘要: 1.Vue 父子组件传值: 第一种: 父组件绑定属性 v-bind:属性 子组件 props 对象接收属性值 ;子组件触发内部事件通过方法 this.$emit('事件名', 参数)冒泡传递给父组件触发 自定义事件对应的方法,方法接收传值处理。 第二种: 父组件中调用组件方法this.$childr 阅读全文

posted @ 2020-03-14 22:23 Alex_TD 阅读(259) 评论(0) 推荐(0) 编辑
CSS HTML 基本知识 盒子模型 Flex等

摘要: /* postion: absolute 不占用文档流空间,父元素没有position属性,相对于body定位元素位置 relative是占用文档流空间 相对于文档流中原来的位置进行定位 fixed 不占用文档流空间 相对于body定位*/ /* display: none; 在文档流中删除标签占的 阅读全文

posted @ 2020-03-14 18:46 Alex_TD 阅读(157) 评论(0) 推荐(0) 编辑

2020年3月13日

Vue---基本知识

摘要: <!DOCTYPE html> <html lang="en"> <head> <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> <meta charset="UTF-8"> <meta name="viewpo 阅读全文

posted @ 2020-03-13 12:13 Alex_TD 阅读(298) 评论(0) 推荐(0) 编辑

2020年3月11日

springboot ---邮件和定时任务 和异步

摘要: 1.搭建环境: 导入包 :spring-boot-starter-mail 和spring-boot-starter-quartz包 Async 用到了代理? mail的主要配置: spring.mail.host=smtp.qq.com spring.mail.username=152552463 阅读全文

posted @ 2020-03-11 12:22 Alex_TD 阅读(203) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 10 下一页