diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 8e90ca6d5026b261dd5e7af54bbe65eddda0a94b..0000000000000000000000000000000000000000 --- a/.dockerignore +++ /dev/null @@ -1,35 +0,0 @@ -# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. - -# dependencies -**/node_modules -/src/utils/request-temp.js - -# production -/.vscode - -# misc -.DS_Store -npm-debug.log* -yarn-error.log - -/coverage -.idea -yarn.lock -package-lock.json -*bak -.vscode - -# visual studio code -.history -*.log - -functions/mock -.temp/** - -# umi -.umi -.umi-production - -# screenshot -screenshot -.firebase \ No newline at end of file diff --git a/.firebaserc b/.firebaserc deleted file mode 100644 index e3a9a50c8a53831595f67ab41862f94d8f050bd0..0000000000000000000000000000000000000000 --- a/.firebaserc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "projects": { - "default": "antd-pro" - } -} diff --git a/.gitpod.yml b/.gitpod.yml deleted file mode 100644 index ba727aa86468e5283e171db84a7b75a28bfcaa49..0000000000000000000000000000000000000000 --- a/.gitpod.yml +++ /dev/null @@ -1,6 +0,0 @@ -ports: -- port: 8000 - onOpen: open-preview -tasks: -- init: npm install - command: npm start diff --git a/Analysis/src/components/Charts/autoHeight.tsx b/Analysis/src/components/Charts/autoHeight.tsx index 310dac7ccbcbd7457585fdbd5d8680938f6e7f4b..aa25500027388d713c0cc4e9f19a087810646f8a 100644 --- a/Analysis/src/components/Charts/autoHeight.tsx +++ b/Analysis/src/components/Charts/autoHeight.tsx @@ -1,4 +1,3 @@ -/* eslint eqeqeq: 0 */ import React from 'react'; export type IReactComponent
= @@ -7,6 +6,7 @@ export type IReactComponent
= | React.ClassicComponentClass
; function computeHeight(node: HTMLDivElement) { + node.style.height = '100%'; const totalHeight = parseInt(getComputedStyle(node).height + '', 10); const padding = parseInt(getComputedStyle(node).paddingTop + '', 10) + @@ -22,14 +22,9 @@ function getAutoHeight(n: HTMLDivElement) { let node = n; let height = computeHeight(node); - - while (!height) { - const parentNode = node.parentNode as HTMLDivElement; - if (parentNode) { - height = computeHeight(parentNode); - } else { - break; - } + const parentNode = node.parentNode as HTMLDivElement; + if (parentNode) { + height = computeHeight(parentNode); } return height; diff --git a/Analysis/src/components/IntroduceRow.tsx b/Analysis/src/components/IntroduceRow.tsx index 61a181f9a1c842158c1eadfe58b4dd5f46fb6572..c939584d23aa54d01c1ed1352807df497fe0cf49 100755 --- a/Analysis/src/components/IntroduceRow.tsx +++ b/Analysis/src/components/IntroduceRow.tsx @@ -59,66 +59,68 @@ const IntroduceRow = ({ loading, visitData }: { loading: boolean; visitData: IVi - {/*