coding,evaluationSrc

This commit is contained in:
liaoboping 2025-09-11 19:35:57 +08:00
parent cf2fd95acc
commit 21daa49c59
7 changed files with 20 additions and 3 deletions

1
public/config.js vendored
View File

@ -4,4 +4,5 @@ window._CONFIG = {
TerrainProviderUrl: '/map/mapDem/',
thirdLoginUrl: 'http://127.0.0.1:8080/thirdLogin',
clientId: '0123456789',
evaluationSrc: 'http://127.0.0.1:8000',
}

BIN
public/models/F-16.ive Normal file

Binary file not shown.

Binary file not shown.

View File

@ -34,7 +34,7 @@ const rootRouter = {
title: '主页',
path: '',
component: 'BasicLayout',
redirect: '/dashboard/equipment',
// redirect: '/dashboard/equipment',
meta: {
title: '首页'
},

View File

@ -1,10 +1,17 @@
<template>
<div>SimulationSceneEvaluation</div>
<div class="evaluation-page">
<iframe :src="src" frameborder="0" style="width: 100%; height: 100%"></iframe>
</div>
</template>
<script>
export default {
name: 'SimulationSceneEvaluation',
data() {
return {
src: window._CONFIG.evaluationSrc,
}
},
created() {
this.$bus.$emit('set-instructor-system-title', '评估子系统')
},

View File

@ -1,10 +1,17 @@
<template>
<div>SimulationSceneEvaluation</div>
<div class="evaluation-page">
<iframe :src="src" frameborder="0" style="width: 100%; height: 100%"></iframe>
</div>
</template>
<script>
export default {
name: 'SimulationSceneEvaluation',
data() {
return {
src: window._CONFIG.evaluationSrc,
}
},
created() {
this.$bus.$emit('set-trainer-system-title', '评估子系统')
},

View File

@ -1,3 +1,4 @@
const os = require('os')
const path = require('path')
const webpack = require('webpack')
const GitRevisionPlugin = require('git-revision-webpack-plugin')
@ -108,6 +109,7 @@ const vueConfig = {
devServer: {
// development server port 8000
port: 8000,
public: os.networkInterfaces().以太网?.slice(-1)[0].address + ':8000',
// If you want to turn on the proxy, please remove the mockjs /src/main.jsL11
proxy: {
'/api': {