fix: move dedicated components to components folder

This commit is contained in:
2024-03-13 16:09:54 +08:00
parent de336dbc72
commit c80e7a2111
5 changed files with 4 additions and 4 deletions

View File

@@ -104,7 +104,7 @@ const obtainSmsCode = () => {
}).then(res => {
sms_triggered.value = true
sms_sending.value = false
sms_counting_down.value = 60 // TODO: modify this to change the countdown time
sms_counting_down.value = 60 // TODO: save timestamp to localstorage
toast.add({title: '短信验证码已发送', color: 'indigo', icon: 'i-tabler-circle-check'})
const interval = setInterval(() => {
sms_counting_down.value--

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import type {ResultBlockMeta} from "~/pages/aigc/drawing/components/index";
import type {ResultBlockMeta} from "~/components/aigc/drawing/index";
import type {PropType} from "vue";
import dayjs from "dayjs";

View File

@@ -2,8 +2,8 @@
import image1 from '~/assets/example/1.jpg';
import image2 from '~/assets/example/2.jpg';
import image3 from '~/assets/example/3.jpg';
import OptionBlock from "~/pages/aigc/drawing/components/OptionBlock.vue";
import ResultBlock from "~/pages/aigc/drawing/components/ResultBlock.vue";
import OptionBlock from "~/components/aigc/drawing/OptionBlock.vue";
import ResultBlock from "~/components/aigc/drawing/ResultBlock.vue";
import {useLoginState} from "~/composables/useLoginState";
import ModalAuthentication from "~/components/ModalAuthentication.vue";