refactor: clean up old Tabs component and update Card routing
- remove unused Tabs component docs, test, style and markdown files - refactor Tabs component to use inline utility classes and inline keyframes - update Card component's click handler to use named route "goods"
This commit is contained in:
@@ -67,6 +67,7 @@ const navigateToPage = (commodityId, path) => {
|
||||
router.push({ path, query: { commodityId } })
|
||||
};
|
||||
|
||||
const handleClick = ({ commodityId }) =>
|
||||
navigateToPage(commodityId, "/pages/goods/index");
|
||||
const handleClick = ({ commodityId }) => {
|
||||
router.push({ name: "goods", query: { commodityId } })
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user