🔥 delete
This commit is contained in:
@@ -95,10 +95,10 @@ export default new class newCommon {
|
||||
|
||||
if (typeof format === 'string') {
|
||||
format = format
|
||||
.replaceAll('dd', day)
|
||||
.replaceAll('hh', timeObj.hour)
|
||||
.replaceAll('mm', timeObj.minute)
|
||||
.replaceAll('ss', timeObj.second)
|
||||
.replace(/dd/g, day)
|
||||
.replace(/hh/g, timeObj.hour)
|
||||
.replace(/mm/g, timeObj.minute)
|
||||
.replace(/ss/g, timeObj.second)
|
||||
|
||||
return format
|
||||
}
|
||||
|
||||
@@ -303,8 +303,8 @@ export default new class {
|
||||
vendor, temperatureGpu, utilizationGpu,
|
||||
memoryTotal, memoryUsed, powerDraw
|
||||
} = graphics
|
||||
temperatureGpu &&= temperatureGpu + '℃'
|
||||
powerDraw &&= powerDraw + 'W'
|
||||
temperatureGpu && (temperatureGpu = temperatureGpu + '℃')
|
||||
powerDraw && (powerDraw = powerDraw + 'W')
|
||||
return {
|
||||
...this.Circle(utilizationGpu / 100),
|
||||
inner: Math.round(utilizationGpu) + '%',
|
||||
|
||||
Reference in New Issue
Block a user