fix: move dedicated components to components folder
This commit is contained in:
@@ -104,7 +104,7 @@ const obtainSmsCode = () => {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
sms_triggered.value = true
|
sms_triggered.value = true
|
||||||
sms_sending.value = false
|
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'})
|
toast.add({title: '短信验证码已发送', color: 'indigo', icon: 'i-tabler-circle-check'})
|
||||||
const interval = setInterval(() => {
|
const interval = setInterval(() => {
|
||||||
sms_counting_down.value--
|
sms_counting_down.value--
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<script setup lang="ts">
|
<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 type {PropType} from "vue";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
|
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
import image1 from '~/assets/example/1.jpg';
|
import image1 from '~/assets/example/1.jpg';
|
||||||
import image2 from '~/assets/example/2.jpg';
|
import image2 from '~/assets/example/2.jpg';
|
||||||
import image3 from '~/assets/example/3.jpg';
|
import image3 from '~/assets/example/3.jpg';
|
||||||
import OptionBlock from "~/pages/aigc/drawing/components/OptionBlock.vue";
|
import OptionBlock from "~/components/aigc/drawing/OptionBlock.vue";
|
||||||
import ResultBlock from "~/pages/aigc/drawing/components/ResultBlock.vue";
|
import ResultBlock from "~/components/aigc/drawing/ResultBlock.vue";
|
||||||
import {useLoginState} from "~/composables/useLoginState";
|
import {useLoginState} from "~/composables/useLoginState";
|
||||||
import ModalAuthentication from "~/components/ModalAuthentication.vue";
|
import ModalAuthentication from "~/components/ModalAuthentication.vue";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user