diff --git a/src/views/trade/index.vue b/src/views/trade/index.vue index 113fc4f..b37d966 100644 --- a/src/views/trade/index.vue +++ b/src/views/trade/index.vue @@ -28,6 +28,8 @@ const tradingviewOptions: Partial = { }; const tradingViewInst = useTemplateRef("tradingViewInst"); const confirmModalInst = useTemplateRef("confirmModalInst"); +const userStore = useUserStore(); +const router = useRouter(); const [form] = useResetRef({ orderType: TradeWayValueEnum.LIMIT, @@ -81,6 +83,12 @@ async function handleSubmit() { } function gotoTokenized() { } +function signIn() { + router.push({ + path: "/auth/login", + query: { redirect: router.currentRoute.value.fullPath }, + }); +} - + {{ mode === TradeTypeEnum.BUY ? '买入' : '卖出' }} + + 请先登录 +