代码调整
This commit is contained in:
parent
ad47f33d16
commit
226744e7f7
@ -47,7 +47,8 @@ export default {
|
||||
// minu=minu>9?minu:'0'+minu;
|
||||
// seconds=seconds>9?seconds:'0'+seconds;
|
||||
let temp=hour+'时'+minu+"分"+seconds+'秒';
|
||||
return '<p>'+params.data.name+': '+temp+'</p>'
|
||||
let start=params.data.name?params.data.name+': ':params.data.name;
|
||||
return '<p>'+start+temp+'</p>'
|
||||
}
|
||||
},
|
||||
color:['#358ff8','#91cb74','#f7c757','#ec6566','#73c0de','#4ca273','#ee8250','#9a60b4','#ea7ccc','#59eca9'],
|
||||
|
@ -73,7 +73,8 @@ export default {
|
||||
// minu=minu>9?minu:'0'+minu;
|
||||
// seconds=seconds>9?seconds:'0'+seconds;
|
||||
let temp=hour+'时'+minu+"分"+seconds+'秒';
|
||||
return '<p>'+params.data.name+': '+temp+'</p>'
|
||||
let start=params.data.name?params.data.name+': ':params.data.name;
|
||||
return '<p>'+start+temp+'</p>'
|
||||
}
|
||||
},
|
||||
color:['#358ff8','#91cb74','#f7c757','#ec6566','#73c0de','#4ca273','#ee8250','#9a60b4','#ea7ccc','#59eca9'],
|
||||
|
Loading…
Reference in New Issue
Block a user