08 2020 档案

摘要:<script> class strNumSwitch { // 千分转数字 static toNum = (param) => { let num = param if (`${param}`.includes(',')) { num = param.replace(/(,*)/g, '') } 阅读全文
posted @ 2020-08-27 14:43 国服第一李师师 阅读(212) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2020-08-27 13:26 国服第一李师师 阅读(148) 评论(0) 推荐(0) 编辑
摘要:我想把自己传给后台的数据给定义一个接口, interface Inparam{ applyId:null; applyType:string; remark:string; actualApplyPersonId:number; isAgent:string; saveComplete:boolea 阅读全文
posted @ 2020-08-24 15:16 国服第一李师师 阅读(454) 评论(0) 推荐(0) 编辑
摘要:'#'+(~~(Math.random()*(1<<24))).toString(16) 这段代码是生成颜色的 阅读全文
posted @ 2020-08-21 11:51 国服第一李师师 阅读(222) 评论(0) 推荐(0) 编辑
摘要:分支上线打包 git tag -d tag名字 git push origin :refs/tags/tag名字 git tag 查看所有tag git tag -a tag名字 -m "注释" git push --tags 把本地新建的tag推送到git上 阅读全文
posted @ 2020-08-20 17:22 国服第一李师师 阅读(598) 评论(0) 推荐(0) 编辑
摘要:function cre(param){ return Array.from(arguments) } function component(param){ param = [1,2,3,4].concat(param) console.log(param) return param } funct 阅读全文
posted @ 2020-08-10 11:27 国服第一李师师 阅读(139) 评论(0) 推荐(0) 编辑
摘要:我们常常发先单单个formatter其实是不够用的,就比如一个方块里面有两行字,那么这是我就将label的配置都放在normal里面,例如如下 normal:{ formatter: param => { const { data: { orgNameZh, orgManagerName, orgM 阅读全文
posted @ 2020-08-03 15:39 国服第一李师师 阅读(1075) 评论(0) 推荐(0) 编辑

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