mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
chore: 修复一些小问题
This commit is contained in:
@@ -30,7 +30,7 @@
|
||||
<script lang="ts" setup>
|
||||
import { computed, ref, Ref } from "vue";
|
||||
import { useSettingStore } from "/@/store/settings";
|
||||
import { SiteInfo } from "/@/api/modules/api.basic";
|
||||
import { SiteInfo } from "/@/store/settings/api.basic";
|
||||
|
||||
const version = ref(import.meta.env.VITE_APP_VERSION);
|
||||
const settingStore = useSettingStore();
|
||||
|
||||
@@ -14,9 +14,8 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { computed, ref, useAttrs } from "vue";
|
||||
import { nanoid } from "nanoid";
|
||||
import { notification } from "ant-design-vue";
|
||||
import * as api from "/@/api/modules/api.basic";
|
||||
import * as api from "/@/store/settings/api.basic";
|
||||
|
||||
const props = defineProps<{
|
||||
value?: string;
|
||||
@@ -58,7 +57,7 @@ async function sendSmsCode() {
|
||||
phoneCode: props.phoneCode,
|
||||
mobile: props.mobile,
|
||||
imgCode: props.imgCode,
|
||||
randomStr: props.randomStr
|
||||
randomStr: props.randomStr,
|
||||
});
|
||||
} finally {
|
||||
loading.value = false;
|
||||
|
||||
@@ -14,9 +14,8 @@
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { computed, ref, useAttrs } from "vue";
|
||||
import { nanoid } from "nanoid";
|
||||
import { notification } from "ant-design-vue";
|
||||
import * as api from "/@/api/modules/api.basic";
|
||||
import * as api from "/@/store/settings/api.basic";
|
||||
|
||||
const props = defineProps<{
|
||||
value?: string;
|
||||
@@ -53,7 +52,7 @@ async function sendSmsCode() {
|
||||
await api.sendEmailCode({
|
||||
email: props.email,
|
||||
imgCode: props.imgCode,
|
||||
randomStr: props.randomStr
|
||||
randomStr: props.randomStr,
|
||||
});
|
||||
} finally {
|
||||
loading.value = false;
|
||||
|
||||
Reference in New Issue
Block a user