@@ -40,15 +40,6 @@ const Tools = () => {
|
||||
link: getDocPath('/docs/intro')
|
||||
}
|
||||
]
|
||||
: []),
|
||||
...(feConfigs?.show_pay
|
||||
? [
|
||||
{
|
||||
icon: 'support/bill/priceLight',
|
||||
label: '计费说明',
|
||||
link: '/price'
|
||||
}
|
||||
]
|
||||
: [])
|
||||
];
|
||||
|
||||
|
||||
17
projects/app/src/pages/tools/price.tsx
Normal file
17
projects/app/src/pages/tools/price.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import Price from '@/components/support/wallet/Price';
|
||||
import { useRouter } from 'next/router';
|
||||
import { serviceSideProps } from '@/web/common/utils/i18n';
|
||||
|
||||
const PriceBox = () => {
|
||||
const router = useRouter();
|
||||
return <Price onClose={router.back} />;
|
||||
};
|
||||
|
||||
export default PriceBox;
|
||||
|
||||
export async function getServerSideProps(context: any) {
|
||||
return {
|
||||
props: { ...(await serviceSideProps(context)) }
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user