Open Coder-JJ opened 5 years ago
我也报同样的错啊......内心持续崩溃中
import * as React from 'react'; import styles from './index.module.scss'; import { Conversion } from '../util/conversion'; import { CookieService } from '../util/cookie';
interface IYouKuFooterProps {
}
interface IYouKuFooterState { trans: boolean; isclient: boolean; }
export default class XXXFooter extends React.Component<IYouKuFooterProps, IYouKuFooterState> {
你可以尝试下 import A from 'package/index' 虽然有点别扭,但是可行
我也报同样的错啊......内心持续崩溃中
+1,同样有这问题,貌似不支持默认导入
结果:报A is not defined错误