diff --git a/src/pages/view/routine/jc/components/dm.vue b/src/pages/view/routine/jc/components/dm.vue index 397a99b..015e4c1 100644 --- a/src/pages/view/routine/jc/components/dm.vue +++ b/src/pages/view/routine/jc/components/dm.vue @@ -160,16 +160,14 @@ const tjDm = debounce(async () => { xsList: dmXsList, ptJsList: dmJsList }; - console.log('提交数据:', dmData); - // return; + uni.showLoading({ + title: '提交中...', + mask: true + }); // 提交点名数据 const response = await submitJcDmDataApi(dmData); + uni.hideLoading(); if (response.result) { - uni.showToast({ - title: '提交成功', - icon: 'success' - }) - // 重置表单 curNj.value = null curBj.value = null @@ -177,7 +175,6 @@ const tjDm = debounce(async () => { photoList: [], videoList: [] }; - // 返回上一页 uni.navigateBack() } else {