diff --git a/kcui/src/view/Graph.vue b/kcui/src/view/Graph.vue
index 13a278e..703df7d 100644
--- a/kcui/src/view/Graph.vue
+++ b/kcui/src/view/Graph.vue
@@ -301,7 +301,8 @@ export default {
}
},
mounted() {
- // this.doLogin();
+ this.testInfo();
+ this.getInfo();
}
}
diff --git a/kcui/src/view/Mulu.vue b/kcui/src/view/Mulu.vue
index 2f75f7f..bf4f9c6 100644
--- a/kcui/src/view/Mulu.vue
+++ b/kcui/src/view/Mulu.vue
@@ -4,7 +4,7 @@
-
@@ -26,17 +26,19 @@ export default {
data() {
return{
mulu:[
- {id:0,name:"图文资源"},
- {id:1,name:"视频资源"},
- {id:2,name:"动画显示"},
- {id:3,name:"计算模块"},
- {id:4,name:"知识图谱"},
- {id:4,name:"帮助文档"},
+ {id:0,name:"图文资源",info:"TwInfo"},
+ {id:1,name:"视频资源",info:"SpInfo"},
+ {id:2,name:"动画显示",info:"DhInfo"},
+ {id:3,name:"计算模块",info:"JsInfo"},
+ {id:4,name:"知识图谱",info:"Graph"},
+ {id:4,name:"帮助文档",info:"Help"},
]
}
},
methods:{
-
+ goPage(info){
+ this.$router.push('/'+info)
+ }
},
mounted() {
diff --git a/src/main/java/com/main/woka/Common/constant/Constants.java b/src/main/java/com/main/woka/Common/constant/Constants.java
index b1f8b2b..0d3ed6f 100644
--- a/src/main/java/com/main/woka/Common/constant/Constants.java
+++ b/src/main/java/com/main/woka/Common/constant/Constants.java
@@ -173,9 +173,9 @@ public class Constants
-public static final String indexPath = "D:\\tupudata\\fileManager\\index";
+public static final String indexPath = "D:\\kcfz\\fileManager\\index";
-public static final String indexPathBattle = "D:\\tupudata\\battleManager\\index";
+public static final String indexPathBattle = "D:\\kcfz\\battleManager\\index";
// public static final String indexPath = "C:\\tupudata\\fileManager\\index";
//
diff --git a/src/main/java/com/main/woka/Web/Controller/KcTlFileController.java b/src/main/java/com/main/woka/Web/Controller/KcTlFileController.java
index 67680f4..9bdc02a 100644
--- a/src/main/java/com/main/woka/Web/Controller/KcTlFileController.java
+++ b/src/main/java/com/main/woka/Web/Controller/KcTlFileController.java
@@ -80,7 +80,7 @@ public class KcTlFileController extends BaseController {
String formattedDate = dateFormat.format(new Date());
// Create base directory if not exists
- File baseDir = new File("D:\\fileManager");
+ File baseDir = new File("D:\\kcfz\\fileManager");
if (!baseDir.exists() && !baseDir.mkdirs()) {
throw new IOException("Failed to create base directory: " + baseDir.getAbsolutePath());
diff --git a/src/main/java/com/main/woka/Web/Controller/LoginController.java b/src/main/java/com/main/woka/Web/Controller/LoginController.java
index ff774dc..89efcff 100644
--- a/src/main/java/com/main/woka/Web/Controller/LoginController.java
+++ b/src/main/java/com/main/woka/Web/Controller/LoginController.java
@@ -73,6 +73,7 @@ public class LoginController extends BaseController{
// 将Cookie添加到响应中
response.addCookie(cookie);
loginUser.setPassword(null);
+ ajaxResult.put("code",200);
ajaxResult.put("info",loginUser);
return ajaxResult;