#原石统计 fix:Error: Illegal argument undefined at at module.exports(md5)
Signed-off-by: 杉星雪 <2658756105@qq.com>
This commit is contained in:
parent
8d6efa7666
commit
20f693c0df
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue