代码更新
This commit is contained in:
@@ -244,9 +244,10 @@ export default {
|
||||
const vnowDate = b + c + x
|
||||
// 将字符串转换成int类型进行相减
|
||||
const a = parseInt(vDateStr) - parseInt(vnowDate)
|
||||
debugger
|
||||
// 进行比较符合条件表格就变化颜色
|
||||
const stylejson = {}
|
||||
if (a < 15) {
|
||||
if (a < 30) {
|
||||
stylejson.background = '#e0838f'
|
||||
stylejson.color = 'green'
|
||||
return stylejson
|
||||
|
||||
Reference in New Issue
Block a user