From cb7f3ffd2adf62afb6ca93825d845f04ee10796c Mon Sep 17 00:00:00 2001 From: zijiren <84728412+zijiren233@users.noreply.github.com> Date: Fri, 30 Aug 2024 15:41:48 +0800 Subject: [PATCH] feat: cost quota and price (#5014) * feat: init template cost quota and price * feat: usage * feat: price box * fix: checkQuotaAllow * fix: get quota * fix: nodeport pricea * fix: no used code * fix: no used code * fix: CheckQuotaType * fix: cannot slice number --- frontend/providers/template/src/pages/deploy/index.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/providers/template/src/pages/deploy/index.tsx b/frontend/providers/template/src/pages/deploy/index.tsx index 95b34f74f7bd..746c2c29b835 100644 --- a/frontend/providers/template/src/pages/deploy/index.tsx +++ b/frontend/providers/template/src/pages/deploy/index.tsx @@ -28,6 +28,10 @@ import PriceBox from './components/PriceBox'; import { useUserStore } from '@/store/user'; import { getResourceUsage } from '@/utils/usage'; import Head from 'next/head'; +import QuotaBox from './components/QuotaBox'; +import PriceBox from './components/PriceBox'; +import { useUserStore } from '@/store/user'; +import { getResourceUsage } from '@/utils/usage'; const ErrorModal = dynamic(() => import('./components/ErrorModal')); const Header = dynamic(() => import('./components/Header'), { ssr: false });