格式化代码并添加视角高度控制以及视角范围控制

This commit is contained in:
wzy-warehouse
2026-04-13 10:30:03 +08:00
parent 83f8fec3a4
commit 5eb71642d2
46 changed files with 2084 additions and 1535 deletions
+24 -22
View File
@@ -3,32 +3,34 @@
</template>
<script setup lang="ts">
import { RouterView } from 'vue-router'
import { ElLoading } from 'element-plus'
import { watch } from 'vue';
import { useViewerStore } from './stores/useViewerStore';
import { RouterView } from 'vue-router';
import { ElLoading } from 'element-plus';
import { watch } from 'vue';
import { useViewerStore } from './stores/useViewerStore';
const loadingOption = {
fullscreen: true,
text: '正在加载配置相关资源中...',
};
const loadingOption = {
fullscreen: true,
text: '正在加载配置相关资源中...'
}
let loadingInstanve = ElLoading.service(loadingOption);
let loadingInstanve = ElLoading.service(loadingOption)
watch(() => useViewerStore().getViewerLoadingCompleted(), (val) => {
if (val) {
loadingInstanve.close()
} else {
loadingInstanve = ElLoading.service(loadingOption)
}
})
watch(
() => useViewerStore().getViewerLoadingCompleted(),
(val) => {
if (val) {
loadingInstanve.close();
} else {
loadingInstanve = ElLoading.service(loadingOption);
}
}
);
</script>
<style>
* {
margin: 0;
padding: 0;
font-family: '微软雅黑';
}
* {
margin: 0;
padding: 0;
font-family: '微软雅黑';
}
</style>