-
Notifications
You must be signed in to change notification settings - Fork 42
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
feat: printreport Sort by item.num #77
Conversation
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.
Well done for a better user experience 🥳️
interface ConverObj { | ||
num: string;// 'Number' | ||
feat: string;// 'Conversion item' | ||
times?: number;// 'Conversion times' | ||
} |
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.
Is it an interface that can be import
ed from report.ts
?
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.
50% / 50%,
just like the Vue3 composition
thought, keep it tight
But, it can imported from report.ts
for the long journey.
tests/render.test.ts
Outdated
test2_nums.forEach((num) =>{ | ||
reportList2.push({ | ||
num, | ||
feat: '' | ||
}) | ||
}) |
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.
We can also use the map
function.
Co-authored-by: Chieffo2021 <85914490+Chieffo2021@users.noreply.github.com>
Co-authored-by: Joe Zhang <flyfish.zy@gmail.com>
Co-authored-by: Joe Zhang <flyfish.zy@gmail.com>
Co-authored-by: Chieffo2021 <85914490+Chieffo2021@users.noreply.github.com>
Co-authored-by: Chieffo2021 <85914490+Chieffo2021@users.noreply.github.com>
Co-authored-by: Chieffo2021 <85914490+Chieffo2021@users.noreply.github.com>
add sort feat to reportList inside printReport
Test to vue-manage-system