perf: 统一setup写法

pull/2/head
xingyu4j 2022-11-16 09:30:57 +08:00
parent b84047b34b
commit e776e6a4b1
5 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { useIcon } from '@/hooks/web/useIcon'
import LoginFormTitle from './LoginFormTitle.vue'
import {

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { computed, unref } from 'vue'
import { useI18n } from '@/hooks/web/useI18n'
import { LoginStateEnum, useLoginState } from './useLogin'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { onMounted, ref } from 'vue'
import dayjs from 'dayjs'
import * as JobLogApi from '@/api/infra/jobLog'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { Crontab } from '@/components/Crontab'
import { ref, unref } from 'vue'
import * as JobApi from '@/api/infra/job'

View File

@ -1,4 +1,4 @@
<script lang="ts" setup>
<script setup lang="ts">
import { onBeforeMount, ref } from 'vue'
import * as RedisApi from '@/api/infra/redis'
import { DICT_TYPE } from '@/utils/dict'