refactor: 统一 setup 格式

This commit is contained in:
xingyu
2023-06-21 19:35:11 +08:00
parent 9ac17b3ce2
commit c1a4edf7b1
128 changed files with 128 additions and 128 deletions

View File

@@ -45,7 +45,7 @@
</template>
</Dialog>
</template>
<script setup lang="ts">
<script lang="ts" setup>
import * as JobApi from '@/api/infra/job'
defineOptions({ name: 'JobForm' })

View File

@@ -147,7 +147,7 @@
<!-- 表单弹窗查看 -->
<JobDetail ref="detailRef" />
</template>
<script setup lang="ts">
<script lang="ts" setup>
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { checkPermi } from '@/utils/permission'
import JobForm from './JobForm.vue'

View File

@@ -121,7 +121,7 @@
<!-- 表单弹窗查看 -->
<JobLogDetail ref="detailRef" />
</template>
<script setup lang="ts">
<script lang="ts" setup>
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict'
import { formatDate } from '@/utils/formatTime'
import download from '@/utils/download'