fix: IconFont 组件改为从独立包引入

This commit is contained in:
GraceWalk
2022-09-29 10:51:52 +08:00
parent 3b33652c47
commit 18789a0a53
35 changed files with 68 additions and 38 deletions

View File

@@ -2,7 +2,8 @@ import React, { useState, useEffect } from 'react';
import { useParams } from 'react-router-dom';
import CardBar from '@src/components/CardBar';
import { healthDataProps } from '.';
import { IconFont, Utils } from 'knowdesign';
import { Utils } from 'knowdesign';
import { IconFont } from '@knowdesign/icons';
import api from '@src/api';
import { healthScoreCondition } from './const';
import { hashDataParse } from '@src/constants/common';