03 2020 档案

摘要:if(a >=5){ alert("你好"); } 可以写成: a >= 5 && alert("你好"); 这样只需一行代码就搞定。 在js逻辑运算中,0、""、null、false、undefined、NaN都会判为false,其他都为true var attr = attr || “”;这个运 阅读全文
posted @ 2020-03-30 16:12 Tamako521 阅读(823) 评论(0) 推荐(0)
摘要:export function sysTime(){ var myDate = new Date(); var year = myDate.getFullYear(); var month = myDate.getMonth()+1; var date = myDate.getDate(); var 阅读全文
posted @ 2020-03-25 17:16 Tamako521 阅读(1106) 评论(0) 推荐(0)
摘要:<!--丰桥api依赖--> <dependency> <groupId>com.sf.csim.express</groupId> <artifactId>express</artifactId> <version>1.6</version> <scope>system</scope> <syst 阅读全文
posted @ 2020-03-03 21:55 Tamako521 阅读(408) 评论(0) 推荐(0)