diff --git a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java index 3900552..b1710a1 100644 --- a/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java +++ b/ruoyi-framework/src/main/java/com/ruoyi/framework/config/ResourcesConfig.java @@ -70,4 +70,5 @@ public class ResourcesConfig implements WebMvcConfigurer // 返回新的CorsFilter return new CorsFilter(source); } + } \ No newline at end of file diff --git a/vue2/vue/package-lock.json b/vue2/vue/package-lock.json index 16d8596..9ad4165 100644 --- a/vue2/vue/package-lock.json +++ b/vue2/vue/package-lock.json @@ -9,10 +9,11 @@ "version": "0.1.0", "dependencies": { "axios": "^1.7.7", - "core-js": "^3.8.3", + "core-js": "^3.39.0", "element-ui": "^2.15.14", "vue": "^2.6.14", - "vue-router": "^3.5.1" + "vue-router": "^3.5.1", + "vuex": "^3.6.2" }, "devDependencies": { "@vue/cli-plugin-babel": "~5.0.0", @@ -9444,6 +9445,14 @@ "prettier": "^1.18.2 || ^2.0.0" } }, + "node_modules/vuex": { + "version": "3.6.2", + "resolved": "https://registry.npmmirror.com/vuex/-/vuex-3.6.2.tgz", + "integrity": "sha512-ETW44IqCgBpVomy520DT5jf8n0zoCac+sxWnn+hMe/CzaSejb/eVw2YToiXYX+Ex/AuHHia28vWTq4goAexFbw==", + "peerDependencies": { + "vue": "^2.0.0" + } + }, "node_modules/watchpack": { "version": "2.4.2", "resolved": "https://registry.npmmirror.com/watchpack/-/watchpack-2.4.2.tgz", diff --git a/vue2/vue/package.json b/vue2/vue/package.json index 9e03777..5bc9fde 100644 --- a/vue2/vue/package.json +++ b/vue2/vue/package.json @@ -8,10 +8,11 @@ }, "dependencies": { "axios": "^1.7.7", - "core-js": "^3.8.3", + "core-js": "^3.39.0", "element-ui": "^2.15.14", "vue": "^2.6.14", - "vue-router": "^3.5.1" + "vue-router": "^3.5.1", + "vuex": "^3.6.2" }, "devDependencies": { "@vue/cli-plugin-babel": "~5.0.0", diff --git a/vue2/vue/src/components/Login.vue b/vue2/vue/src/components/Login.vue index 322a7c2..e23fcb0 100644 --- a/vue2/vue/src/components/Login.vue +++ b/vue2/vue/src/components/Login.vue @@ -27,6 +27,7 @@ - - - - - -