webapp: Remove not required cast to string
This commit is contained in:
parent
a0d0aec677
commit
3138e28cdf
@ -76,12 +76,12 @@ export default defineComponent({
|
|||||||
},
|
},
|
||||||
productionYear() {
|
productionYear() {
|
||||||
return() => {
|
return() => {
|
||||||
return ((parseInt(this.devInfoList.serial.toString(), 16) >> (7 * 4)) & 0xF) + 2014;
|
return ((parseInt(this.devInfoList.serial, 16) >> (7 * 4)) & 0xF) + 2014;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
productionWeek() {
|
productionWeek() {
|
||||||
return() => {
|
return() => {
|
||||||
return ((parseInt(this.devInfoList.serial.toString(), 16) >> (5 * 4)) & 0xFF).toString(16);
|
return ((parseInt(this.devInfoList.serial, 16) >> (5 * 4)) & 0xFF).toString(16);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user