提交 8ed86d1b authored 作者: lihuihui's avatar lihuihui

修改bug

上级 1f88522f
......@@ -115,7 +115,7 @@ export default {
const data2 = []
response.data.map((item, index) => {
data1.push(item.score)
data2.push(this.getNowTime(item.date_index))
data2.push(item.created_at)
})
if (data2.length > 1) {
this.polar = {
......@@ -301,7 +301,7 @@ export default {
const hh = date.getHours()
const mf = date.getMinutes()
const ss = date.getSeconds()
dateTime = this.toDo(yy) + '-' + this.toDo(mm) + '-' + this.toDo(dd) + ' ' + this.toDo(hh) + ':' + this.toDo(mf) + ':' + this.toDo(ss)
dateTime = n > 1 ? this.toDo(yy) + '-' + this.toDo(mm) + '-' + this.toDo(dd) : this.toDo(yy) + '-' + this.toDo(mm) + '-' + this.toDo(dd) + ' ' + this.toDo(hh) + ':' + this.toDo(mf) + ':' + this.toDo(ss)
return dateTime
},
toDo(n) {
......
......@@ -134,3 +134,6 @@ body::-webkit-scrollbar-thumb:hover {
body::-webkit-scrollbar-thumb:active {
background-color: rgba(0, 203, 255, 1);
}
.el-message--error{
z-index: 999999999999 !important;
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论