于添 há 6 meses atrás
pai
commit
bf9233bb77

+ 2 - 2
.env.development

@@ -5,10 +5,10 @@ NODE_ENV = development
 VITE_TITLE = 飞行学院
 
 # 接口地址
-VITE_API_BASEURL = http://192.168.31.15:9003
+#VITE_API_BASEURL = http://192.168.31.15:9003
 #VITE_API_BASEURL = http://192.168.31.80:19003
 #VITE_API_BASEURL = http://192.168.1.235:9003
-#VITE_API_BASEURL = http://192.168.1.245:9003
+VITE_API_BASEURL = http://192.168.1.245:9003
 VITE_FILEURL = http://192.168.1.245:10005/education/
 # VITE_API_BASEURL = http://192.168.31.14:9003
 # VITE_API_BASEURL = http://192.168.31.6:9003

+ 0 - 2
src/App.vue

@@ -5,9 +5,7 @@
 				<Header/>
 				<div style="width: 100vw; overflow-y: scroll;height: 100%">
 					<div style="width: 71%; margin-left: 10%;">
-						<transition name="fade" mode="out-in">
 							<router-view></router-view>
-						</transition>
 					</div>
 				</div>
 

+ 2 - 3
src/views/courseAdd/components/courseProduction/addDialog.vue

@@ -128,14 +128,13 @@ const handleChange = (activeKey) => {
 					exListsRef.value.open()
 				}
 				if (modeTag.value == 'edit') {
-					console.log('走没走3', exListsRefData.value)
-					console.log('走没走33', exListsRefData.value[0])
+
 					if(exListsRefData.value && exListsRefData.value[0]&& exListsRefData.value[0].relateId){
 						exListsRef.value.edit(exListsRefData.value[0].relateId)
 					}else if(exListsRefData.value && exListsRefData.value[0]&& exListsRefData.value[0].id){
 						exListsRef.value.edit(exListsRefData.value[0].id)
 					}
-					console.log('走没走4', exListsRefData.value)
+				
 					if(exListsRefData.value  == null){
 						exListsRef.value.open()
 					}

+ 1 - 1
vite.config.js

@@ -41,7 +41,7 @@ export default defineConfig(({command, mode}) => {
 			port: envConfig.VITE_PORT,
 			proxy: {
 				'/api': {
-					target: 'http://192.168.31.15:9003',
+					target: 'http://192.168.1.245:9003',
 					// target: 'http://192.168.1.235:9003',
 					// target: 'http://192.168.31.15:9003',
 					// target: 'http://192.168.31.15:9003',