lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

pro-layout 1.0.1-beta.6 这个版本 pro-card/index.js第一行报错:'CardProps' is not exported from './components/card'.

Open flodetan opened this issue 3 years ago • 2 comments

image

#执行yarn build 时 报错:

Failed to compile.

/Users/richen/IdeaProjects/coutrace-jaeger/jaeger-ui/node_modules/@alifd/pro-layout/es/pro-card/index.js
Attempted import error: 'CardProps' is not exported from './components/card'.


error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
make: *** [rebuild-ui] Error 1

pro-card/index.js 代码如下: 其中 /components/card 这个文件里面的 CardProps 确实 没有export 出来

import { Card as ProCard, CardProps } from './components/card';
import { CardSection, CardSectionProps } from './components/card-section';
ProCard.CardSection = CardSection;
export { CardProps, CardSectionProps };
export default ProCard;

flodetan avatar Jun 24 '22 07:06 flodetan

This issue is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 2 days.

github-actions[bot] avatar Jul 08 '22 02:07 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Jul 20 '22 02:07 github-actions[bot]

6月24号提的, 现在还在啊 image

huangapple avatar Nov 07 '22 09:11 huangapple

官方能不能抽空帮忙更新一下这个物料 @alifd/pro-layout 1.0.1-beta.6版本

huangapple avatar Nov 07 '22 09:11 huangapple

fixed in @alifd/[email protected]

jinchanz avatar Nov 07 '22 09:11 jinchanz