@@ -177,13 +177,12 @@ export default {
this.radioChange()
},
queryTeamIdleList(data) {
-
const today = new Date()
const colorlist = ['#A1DEFF', '#FAB5B5', '#BCED86', '#FFA87F', '#8E44AD', '#1EBC61', '#0287D0']
this.personal = false
this.tasks_personal = []
let count = 0
- // 如果数据为空不执行
+ // 如果数据为空不执行
if (JSON.stringify(data) === '{}') return
for (const i in data) {
const color = colorlist[count % colorlist.length]