04 2020 档案

摘要:1、外部文件config.js 第一种写法 1 //常量的定义 2 3 const config = { 4 baseurl:'http://172.16.114.5:8088/MGT2' 5 } 6 7 //函数的定义 8 9 function formatXml(text) { 10 retur 阅读全文
posted @ 2020-04-23 18:04 smile_lg 阅读(4903) 评论(0) 推荐(0) 编辑
摘要:对象属性监听的两种方法: 1.普通的watch 1 data() { 2 return { 3 frontPoints: 0 4 } 5 }, 6 watch: { 7 frontPoints(newValue, oldValue) { 8 console.log(newValue) 9 } 10 阅读全文
posted @ 2020-04-22 17:18 smile_lg 阅读(557) 评论(0) 推荐(0) 编辑
摘要:目录一、自动配置的核心二、@Conditional三、总结 一、自动配置的核心一般springboot程序,我们都会在主启动类上加上@SpringBootApplication注解,@SpringBootApplication是一个复合注解,上面标注了@ComponeScan,@EnableAuto 阅读全文
posted @ 2020-04-07 22:10 smile_lg 阅读(271) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示