From db396436d81823ed539c9d27384eb84380b6775a Mon Sep 17 00:00:00 2001 From: Phodal Huang Date: Sun, 21 Jun 2020 23:23:42 +0800 Subject: [PATCH] fix: try to fix demo issue --- .gitignore | 1 - _fixtures/webdemo/output.json => demo.json | 0 static/js/chart.js | 2 +- 3 files changed, 1 insertion(+), 2 deletions(-) rename _fixtures/webdemo/output.json => demo.json (100%) diff --git a/.gitignore b/.gitignore index a96595c..2f18398 100644 --- a/.gitignore +++ b/.gitignore @@ -82,5 +82,4 @@ map.csv output.json *.pom MANIFEST.MF -!_fixtures/webdemo/output.json diff --git a/_fixtures/webdemo/output.json b/demo.json similarity index 100% rename from _fixtures/webdemo/output.json rename to demo.json diff --git a/static/js/chart.js b/static/js/chart.js index a3e9bfe..bc3ebe3 100644 --- a/static/js/chart.js +++ b/static/js/chart.js @@ -481,7 +481,7 @@ function renderPacking(originData) { } if (window.location.href.includes("demo")) { - d3.json("_fixtures/webdemo/output.json").then(function (data) { + d3.json("demo.json").then(function (data) { renderVertical(data) renderCircle(data) renderPacking(data)