diff --git a/app/admin/view/index/welcome.php b/app/admin/view/index/welcome.php index 0dab17e..2b107bc 100644 --- a/app/admin/view/index/welcome.php +++ b/app/admin/view/index/welcome.php @@ -317,7 +317,7 @@ function getUserCounts() { fetch('{:url("users/counts")}') .then(response => response.json()) .then(res => { - console.log('用户统计接口返回数据:', res); + // console.log('用户统计接口返回数据:', res); if (res.code === 0 && res.data) { // 更新用户总数 document.querySelector('.stat-card:nth-child(1) .stat-value').textContent = res.data.total.toLocaleString(); @@ -353,7 +353,7 @@ function getArticleCounts() { fetch('{:url("articles/counts")}') .then(response => response.json()) .then(res => { - console.log('文章统计接口返回数据:', res); + // console.log('文章统计接口返回数据:', res); if (res.code === 0 && res.data) { // 更新文章总数 document.querySelector('.stat-card:nth-child(3) .stat-value').textContent = res.data.total.toLocaleString(); @@ -389,7 +389,7 @@ function getResourcesCounts() { fetch('{:url("resources/counts")}') .then(response => response.json()) .then(res => { - console.log('资源统计接口返回数据:', res); + // console.log('资源统计接口返回数据:', res); if (res.code === 0 && res.data) { // 更新资源总数 document.querySelector('.stat-card:nth-child(4) .stat-value').textContent = res.data.total.toLocaleString(); diff --git a/app/admin/view/yunzer/menuedit.php b/app/admin/view/yunzer/menuedit.php index 3c94d40..cd130ac 100644 --- a/app/admin/view/yunzer/menuedit.php +++ b/app/admin/view/yunzer/menuedit.php @@ -50,8 +50,10 @@