08 2022 档案
摘要:预期 [1,2,3,4,5] => true [1,2,3,5,6] => false 代码 //判断一串数字是否是连续的 const isContinuityNum = (num: number[] | number) => { let array = []; if (num instanceof
阅读全文
摘要:需求 现在有这个需求 ,启动 项目之前 想清数据库等操作 ,写代码里面 又 不好 …… 解决方法 idea 里面 有 edit configuration launch 之前 可以 配置 shell script 但是goland 里面 没有 这个时候 选择 extern tools 启动程序写 s
阅读全文
摘要:TS2786: 'DraggableCore' cannot be used as a JSX component. Its instance type 'DraggableCore' is not a valid JSX element. The types returned by 'render
阅读全文
摘要:代码如下 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div style="height: 100% ;display:flex; flex-d
阅读全文