diff --git a/ui/src/views/login/index.vue b/ui/src/views/login/index.vue index 8aab13ab..e51aa762 100644 --- a/ui/src/views/login/index.vue +++ b/ui/src/views/login/index.vue @@ -135,7 +135,7 @@ const loginHandle = () => { } function makeCode() { loginApi.getCaptcha().then((res: any) => { - identifyCode.value = res.captcha + identifyCode.value = res.data.captcha }) } onBeforeMount(() => { diff --git a/ui/src/views/model/index.vue b/ui/src/views/model/index.vue index 8de34f3f..64f1d4e5 100644 --- a/ui/src/views/model/index.vue +++ b/ui/src/views/model/index.vue @@ -188,6 +188,7 @@