Merge pull request 'master' (#1089) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1089
This commit is contained in:
@@ -633,7 +633,7 @@ const getTodoList = () => {
|
|||||||
getHomeTaskInfo().then(res => {
|
getHomeTaskInfo().then(res => {
|
||||||
if (res.code === 1000) {
|
if (res.code === 1000) {
|
||||||
todoList.value = res.data.rows
|
todoList.value = res.data.rows
|
||||||
todoNum.value=res.data.total
|
todoNum.value = res.data.total > 99 ? '99+' : res.data.total
|
||||||
} else {
|
} else {
|
||||||
ElNotification({
|
ElNotification({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
@@ -647,7 +647,7 @@ const getDoneList = () => {
|
|||||||
getDoneTaskInfo().then(res => {
|
getDoneTaskInfo().then(res => {
|
||||||
if (res.code === 1000) {
|
if (res.code === 1000) {
|
||||||
doneList.value = res.data.rows
|
doneList.value = res.data.rows
|
||||||
doneNum.value=res.data.total
|
doneNum.value = res.data.total > 99 ? '99+' : res.data.total
|
||||||
} else {
|
} else {
|
||||||
ElNotification({
|
ElNotification({
|
||||||
title: '提示',
|
title: '提示',
|
||||||
|
|||||||
Reference in New Issue
Block a user