-
-
Notifications
You must be signed in to change notification settings - Fork 84
Add a scene or page switcher in the lower right corner of the preview page on issue #43 #78
New issue
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
Conversation
| } | ||
|
|
||
| export const FeatureBar: React.FC<IPointerProps> = (props) => { | ||
| console.log(props); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we will use ESLint to check the code, it's better to remove the console.log here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
| }); | ||
| return nodes; | ||
| } | ||
| console.log(scenePageOptions); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we will use ESLint to check the code, it's better to remove the console.log here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
| import { ProjectPageViewsResultData } from "@/apis/types/resp"; | ||
| import SolidViewFactory from "@/views/SolidViewFactory"; | ||
| import { isNil } from "lodash-es"; | ||
| import _, { isNil } from "lodash-es"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's better to use import { isNil } from "lodash-es", when build the project, it can reduce the bundle size.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use isNil(xxx) instead of _.isNil(xxx)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
|
I have solved the above problem |
What is the purpose of the change
Add a scene or page switcher in the lower right corner of the preview page
Related issues/PRs
Related issues: #43
Brief change log
/solidui-web/src/pages/Designer/Preview/index.tsx
/solidui-web/src/pages/Designer/Preview/PreviewPopup.tsx
/solidui-web/src/pages/Designer/Preview/preview.tsx
Checklist