diff --git a/src/pages/business/business.vue b/src/pages/business/business.vue index 0461a9e..b256d51 100644 --- a/src/pages/business/business.vue +++ b/src/pages/business/business.vue @@ -85,7 +85,7 @@ onShow(()=>{ try { showLoading("加载中...") getList(); - // getTaskCount(); + getTaskCount(); hideLoading(); } catch (error) { hideLoading(); @@ -164,7 +164,7 @@ const downOption = ref({ const downCallback = async (mescroll) => { try { setTimeout(async ()=>{ - // getTaskCount(); + getTaskCount(); getList(); // mescroll.resetUpScroll(); },500); diff --git a/src/pages/home/home.vue b/src/pages/home/home.vue index 862b744..7e17c23 100644 --- a/src/pages/home/home.vue +++ b/src/pages/home/home.vue @@ -202,7 +202,7 @@ const initLoad =()=>{ getSalesTask(); getCommonServices(); getNewsList(); - // getTaskCount(); + getTaskCount(); hideLoading(); } catch (error) { hideLoading(); diff --git a/src/pages/loading/loading.vue b/src/pages/loading/loading.vue index f410a94..fd2ab03 100644 --- a/src/pages/loading/loading.vue +++ b/src/pages/loading/loading.vue @@ -94,9 +94,9 @@ onLoad(async(opt) => { // #endif // 内网才有minio参数 - // if(networkEnv.value==1){ - // getMinioParam(); - // } + if(networkEnv.value==1){ + getMinioParam(); + } });