瀏覽代碼

Update indexbody.js

tags/6.1.7
tianya 3 年之前
父節點
當前提交
e51d916a79
共有 1 個檔案被更改,包括 8 行新增7 行删除
  1. +8
    -7
      src/admin/js/indexbody.js

+ 8
- 7
src/admin/js/indexbody.js 查看文件

@@ -218,13 +218,7 @@ async function LoadStatChart() {
},
data: {
labels: labels,
datasets: [{
label: 'IP',
data: ips,
borderColor: 'rgba(255, 99, 132, 1)',
backgroundColor :'rgba(255, 99, 132, 0.2)',
borderWidth: 1
},
datasets: [
{
label: 'PV',
data: pvs,
@@ -238,6 +232,13 @@ async function LoadStatChart() {
backgroundColor: 'rgba(255, 206, 86, 0.2)',
borderWidth: 1
},{
label: 'IP',
data: ips,
borderColor: 'rgba(255, 99, 132, 1)',
backgroundColor :'rgba(255, 99, 132, 0.2)',
borderWidth: 1
},
,{
label: '访问次数',
data: vvs,
borderColor: 'rgba(75, 192, 192, 1)',


Loading…
取消
儲存