提交
This commit is contained in:
@ -14,6 +14,10 @@ const yaml = require("js-yaml");
|
||||
let Store = require('electron-store')
|
||||
Store.initRenderer();
|
||||
|
||||
process.on('unhandledRejection', (reason) => {
|
||||
console.error('主进程异步异常:', reason);
|
||||
});
|
||||
|
||||
|
||||
// 开发环境路径处理 - 确保添加正确的file协议
|
||||
const devSplashPath = path.resolve(
|
||||
|
||||
@ -96,7 +96,7 @@ const initTreeCallBack = () => {
|
||||
layers.sort((obj1, obj2) => {
|
||||
return obj1.detail.layerIndex - obj2.detail.layerIndex;
|
||||
});
|
||||
if (window.earth_ts) {
|
||||
if ((window as any).earth_ts) {
|
||||
for (let i = 0; i < layers.length; i++) {
|
||||
// initMapData(layers[i].sourceType, layers[i].detail, null)
|
||||
}
|
||||
|
||||
@ -13,6 +13,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
//@ts-nocheck
|
||||
import {ref, reactive, onMounted, nextTick} from "vue";
|
||||
import {useRouter, useRoute} from "vue-router";
|
||||
import Cabin from "./cabin.vue"
|
||||
|
||||
@ -163,6 +163,7 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
//@ts-nocheck
|
||||
import { reactive, onMounted, onBeforeUnmount, watch } from 'vue'
|
||||
import { Decimal } from 'decimal.js'
|
||||
import { ElMessage } from 'element-plus'
|
||||
|
||||
Reference in New Issue
Block a user