(length: number)
| 117 | |
| 118 | |
| 119 | export function randomid(length: number) { |
| 120 | let result = ''; |
| 121 | let characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'; |
| 122 | let charactersLength = characters.length; |
| 123 | for (let i = 0; i < length; i++) { |
| 124 | result += characters.charAt(Math.floor(Math.random() * charactersLength)); |
| 125 | } |
| 126 | return result; |
| 127 | } |
| 128 | |
| 129 | // 跳转PyWebIO Application |
| 130 | // name: app名称 |
no outgoing calls
no test coverage detected
searching dependent graphs…