style: lint格式化文件

This commit is contained in:
2025-10-21 18:04:02 +08:00
parent f9ca969fec
commit 7629120548
1092 changed files with 148218 additions and 157907 deletions

View File

@ -1,35 +1,35 @@
<template>
<a-spin :spinning="spinning" :delay="delayTime">
<ViewerHome v-if="data.visible" :content="data.content" />
</a-spin>
<a-spin :spinning="spinning" :delay="delayTime">
<ViewerHome v-if="data.visible" :content="data.content" />
</a-spin>
</template>
<script setup lang="ts">
import { onMounted, reactive, ref, unref } from 'vue';
import ViewerHome from './../viewer/components/Viewer.vue';
import { useRouter } from 'vue-router';
import { getProfessionalInfo } from '/@/api/system/report';
import { onMounted, reactive, ref, unref } from 'vue';
import ViewerHome from './../viewer/components/Viewer.vue';
import { useRouter } from 'vue-router';
import { getProfessionalInfo } from '/@/api/system/report';
const { currentRoute } = useRouter();
const spinning = ref<boolean>(true);
const delayTime = 500;
const data = reactive({ visible: false, content: '' });
onMounted(async () => {
try {
const { path } = unref(currentRoute);
let paths = path.split('/');
let id = paths.length > 0 ? paths[paths.length - 1] : '';
if (id) {
let res = await getProfessionalInfo(id);
data.content = res.fileJson;
data.visible = true;
}
spinning.value = false;
} catch (error) {
console.log('error: ', error);
spinning.value = false;
}
});
const { currentRoute } = useRouter();
const spinning = ref<boolean>(true);
const delayTime = 500;
const data = reactive({ visible: false, content: '' });
onMounted(async () => {
try {
const { path } = unref(currentRoute);
let paths = path.split('/');
let id = paths.length > 0 ? paths[paths.length - 1] : '';
if (id) {
let res = await getProfessionalInfo(id);
data.content = res.fileJson;
data.visible = true;
}
spinning.value = false;
} catch (error) {
console.log('error: ', error);
spinning.value = false;
}
});
</script>
<style scoped></style>