#原石统计 fix:Error: Illegal argument undefined at at module.exports(md5)

Signed-off-by: 杉星雪 <2658756105@qq.com>
This commit is contained in:
杉星雪 2023-05-31 07:01:06 +00:00 committed by Gitee
parent 8d6efa7666
commit 20f693c0df
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ export default class MysApi {
/* eslint-disable quotes */
get device () {
if (!this._device) this._device = `Yz-${md5(this.uid).substring(0, 5)}`
if (!this._device) this._device = `Yz-${md5(`${this.uid}`).substring(0, 5)}`
return this._device
}