Pre Merge pull request !54 from 杉星雪/master

This commit is contained in:
杉星雪 2023-06-11 19:21:41 +00:00 committed by Gitee
commit c9d2062870
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
}