diff --git a/ruoyi-ui/index.html b/ruoyi-ui/index.html index d20d02e..b950ba5 100644 --- a/ruoyi-ui/index.html +++ b/ruoyi-ui/index.html @@ -2,214 +2,216 @@ - - - - - - 若依管理系统 - - + + + + + + 若依管理系统 + + -
+
-
-
-
-
正在加载系统资源,请耐心等待
+
+
+
+
正在加载系统资源,请耐心等待
-
- +
+ \ No newline at end of file diff --git a/ruoyi-ui/src/api/login.js b/ruoyi-ui/src/api/login.js index aa57ad3..7599775 100644 --- a/ruoyi-ui/src/api/login.js +++ b/ruoyi-ui/src/api/login.js @@ -1,6 +1,14 @@ import request from '@/utils/request' import Cookies from "js-cookie"; +// 切换语言 +export function cutLang() { + return request({ + url: '/system/language/change', + method: 'get', + }) +} + // 登录方法 export function login(username, password, code, uuid) { const data = { diff --git a/ruoyi-ui/src/components/SizeSelect/index.vue b/ruoyi-ui/src/components/SizeSelect/index.vue index 4c2e7e9..f833fac 100644 --- a/ruoyi-ui/src/components/SizeSelect/index.vue +++ b/ruoyi-ui/src/components/SizeSelect/index.vue @@ -17,20 +17,22 @@