Pre Merge pull request !54 from 杉星雪/master
This commit is contained in:
commit
c9d2062870
|
@ -28,7 +28,7 @@ export default class MysApi {
|
||||||
|
|
||||||
/* eslint-disable quotes */
|
/* eslint-disable quotes */
|
||||||
get device () {
|
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
|
return this._device
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue