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

demo出码报错,预览样式丢失

Open sunhannie opened this issue 3 years ago • 2 comments

运用 低代码引擎demo,出码 导出zip包,安装运行后,控制台出现很多warning,关键是样式丢失

详细复现步骤:

直接默认页面导出zip代码包 image

解压后 npm install npm start 控制台成功运行 image

浏览器访问[http://localhost:3333,访访问成功,但是样式丢失] image

console控制台报红信息: index.js:1 Warning: React does not recognize the verAlign prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase veralign instead. If you accidentally passed it from a parent component, remove it from the DOM element. in div (created by Paragraph) in Paragraph (created by $$Page) in div (created by ForwardRef(Col)) in ForwardRef(Col) (created by $$Page) in div (created by ForwardRef(Row)) in ForwardRef(Row) (created by $$Page) in div (created by ForwardRef(RowColContainer)) in ForwardRef(RowColContainer) (created by $$Page) in div (created by Header) in header (created by Header) in Header (created by $$Page) in div (created by Page) in Page (created by $$Page) in div (created by $$Page) in $$Page (created by WrapperedPageComponent) in WrapperedPageComponent (created by RouterWrapperedPage) in RouterWrapperedPage (created by WrapperedPageErrorBoundary) in WrapperedPageErrorBoundary (created by AuthWrapperedComponent) in AuthWrapperedComponent in Unknown (created by Context.Consumer) in Suspense (created by Context.Consumer) in Route (created by Routes) in Switch (created by Routes) in Routes (created by Routes) in div (created by Shell) in div (created by Shell) in Shell (created by Config(Shell)) in Config(Shell) (created by BasicLayout) in section (created by Shell) in section (created by Shell) in section (created by Shell) in Shell (created by Config(Shell)) in Config(Shell) (created by BasicLayout) in ConfigProvider (created by BasicLayout) in BasicLayout (created by Context.Consumer) in Route (created by Routes) in Switch (created by Routes) in Routes in Router (created by IceRouter) in IceRouter in Unknown (created by App) in Provider (created by Provider) in Provider (created by AuthStoreProvider) in AuthStoreProvider (created by App) in App

index.js:1 Warning: Each child in a list should have a unique "key" prop.

Check the render method of Paragraph. It was passed a child from ForwardRef(Block). See https://fb.me/react-warning-keys for more information. in ForwardRef(Cell) (created by ForwardRef(Block)) in Paragraph (created by ForwardRef(Block)) in div (created by ForwardRef(Block)) in div (created by ForwardRef(Block)) in ForwardRef(Block) (created by $$Page) in section (created by PageContent) in section (created by PageContent) in div (created by PageContent) in PageContent (created by Page) in div (created by Page) in Page (created by $$Page) in div (created by $$Page) in $$Page (created by WrapperedPageComponent)

index.js:1 Warning: React does not recognize the isAutoContainer prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase isautocontainer instead. If you accidentally passed it from a parent component, remove it from the DOM element. in div (created by Card) in Card (created by ForwardRef(BlockCell)) in div (created by ForwardRef(BlockCell)) in ForwardRef(BlockCell) (created by $$Page) in div (created by ForwardRef(Block)) in div (created by ForwardRef(Block))

index.js:1 Warning: React does not recognize the placeholderStyle prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase placeholderstyle instead. If you accidentally passed it from a parent component, remove it from the DOM element. in div (created by ForwardRef(Block)) in ForwardRef(Block) (created by $$Page) in section (created by PageContent) in section (created by PageContent) in div (created by PageContent) in PageContent (created by Page)

index.js:1 Warning: React does not recognize the headerDivider prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase headerdivider instead. If you accidentally passed it from a parent component, remove it from the DOM element. in div (created by Page) in Page (created by $$Page) in div (created by $$Page) in $$Page (created by WrapperedPageComponent) in WrapperedPageComponent (created by RouterWrapperedPage) in RouterWrapperedPage (created by WrapperedPageErrorBoundary)

sunhannie avatar Aug 04 '22 04:08 sunhannie

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 Aug 15 '22 02:08 github-actions[bot]

解决了吗?遇到同样的问题 感觉demo这个项目还不成熟

shiert avatar Nov 29 '22 01:11 shiert