|
|
@@ -73,7 +73,6 @@ function renderResult(x, data) {
|
|
|
let analysis = []
|
|
|
|
|
|
let advice_element = <></>
|
|
|
- let points_element = <></>
|
|
|
|
|
|
if (result !== undefined) {
|
|
|
if (result.file !== undefined) {
|
|
|
@@ -91,10 +90,8 @@ function renderResult(x, data) {
|
|
|
|
|
|
if (data.type === "PHOTO_STANDING") {
|
|
|
advice_element = advice['front'].filter(x => typeof x === 'string').concat(advice['right'].filter(x => typeof x === 'string')).map(x => <>{x}<br/></>)
|
|
|
- points_element = advice['points']
|
|
|
} else {
|
|
|
advice_element = <p>{advice}</p>
|
|
|
- points_element= <p>{points}</p>
|
|
|
}
|
|
|
|
|
|
for (const key in result.data) {
|
|
|
@@ -135,10 +132,6 @@ function renderResult(x, data) {
|
|
|
<Card type="inner" title="分析建议">
|
|
|
{advice_element}
|
|
|
</Card>
|
|
|
- <Card type="inner" title="数据坐标">
|
|
|
- {points_element}
|
|
|
- </Card>
|
|
|
-
|
|
|
<Card type="inner" title="详细数据">
|
|
|
{analysis}
|
|
|
</Card>
|