* 生成文件名 * @param {Object} file * @return {String}
(file)
| 68 | * @return {String} |
| 69 | */ |
| 70 | randFilename(file) { |
| 71 | return this.randString(this.rand(10, 100)) + Date.parse(new Date()) + '.' + this.getFilenameExt(file) |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * 判断某个元素是否为字符串 |
nothing calls this directly
no test coverage detected