We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rightContentRender使用和官方一直为啥一直报错啊
export const layout: RunTimeLayoutConfig = ({initialState}) => { return { rightContentRender: ()=><HeaderDropMenu/>, };
X [ERROR] Expected ">" but found "/"
src/app.ts:37:43: 37 │ rightContentRender: ()=><HeaderDropMenu/>, │ ^ ╵ >
error - [icons] build failed: Error: Build failed with 1 error: src/app.ts:37:43: ERROR: Expected ">" but found "/"
The text was updated successfully, but these errors were encountered:
🧐 问题描述 rightContentRender使用和官方一直为啥一直报错啊 💻 示例代码 export const layout: RunTimeLayoutConfig = ({initialState}) => { return { rightContentRender: ()=><HeaderDropMenu/>, }; 报错信息 X [ERROR] Expected ">" but found "/" src/app.ts:37:43: 37 │ rightContentRender: ()=><HeaderDropMenu/>, │ ^ ╵ > error - [icons] build failed: Error: Build failed with 1 error: src/app.ts:37:43: ERROR: Expected ">" but found "/"
把app.ts改成app.tsx
Sorry, something went wrong.
No branches or pull requests
🧐 问题描述
rightContentRender使用和官方一直为啥一直报错啊
💻 示例代码
报错信息
X [ERROR] Expected ">" but found "/"
error - [icons] build failed: Error: Build failed with 1 error:
src/app.ts:37:43: ERROR: Expected ">" but found "/"
The text was updated successfully, but these errors were encountered: