当我尝试从LinkedInTag包调用函数时,我得到错误TypeError:链接标签初始化不是函数
import { LinkedInTag } from 'react-linkedin-insight'; LinkedInTag.init("1234567", 'dc', false);
f8rj6qna1#
尝试:
import LinkedInTag from 'react-linkedin-insight';
取而代之是:
import { LinkedInTag } from 'react-linkedin-insight';
1条答案
按热度按时间f8rj6qna1#
尝试:
取而代之是: