coding,evaluationSrc
This commit is contained in:
parent
cf2fd95acc
commit
21daa49c59
1
public/config.js
vendored
1
public/config.js
vendored
|
@ -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
BIN
public/models/F-16.ive
Normal file
Binary file not shown.
BIN
public/models/xinxiduikang.glb
Normal file
BIN
public/models/xinxiduikang.glb
Normal file
Binary file not shown.
|
@ -34,7 +34,7 @@ const rootRouter = {
|
|||
title: '主页',
|
||||
path: '',
|
||||
component: 'BasicLayout',
|
||||
redirect: '/dashboard/equipment',
|
||||
// redirect: '/dashboard/equipment',
|
||||
meta: {
|
||||
title: '首页'
|
||||
},
|
||||
|
|
|
@ -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', '评估子系统')
|
||||
},
|
||||
|
|
|
@ -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', '评估子系统')
|
||||
},
|
||||
|
|
|
@ -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': {
|
||||
|
|
Loading…
Reference in New Issue
Block a user