From f9ee814adc1efe34934974183c14516336f2d525 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com>
Date: Tue, 29 Aug 2023 16:48:41 +0800
Subject: [PATCH] =?UTF-8?q?:zap:=E4=BC=98=E5=8C=96ui=E3=80=81=E5=B8=83?=
=?UTF-8?q?=E5=B1=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.vscode/settings.json | 21 ++++++++-------------
src/layout/components/Settings/index.vue | 2 +-
src/router/index.js | 2 +-
src/settings.js | 2 +-
src/views/components/icons/index.vue | 4 +++-
src/views/index.vue | 2 +-
src/views/index_v1.vue | 12 +++---------
src/views/login.vue | 17 +++++++++++------
8 files changed, 29 insertions(+), 33 deletions(-)
diff --git a/.vscode/settings.json b/.vscode/settings.json
index fff106c..b0e1276 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -5,11 +5,7 @@
"editor.formatOnPaste": true,
"editor.formatOnType": true,
// 配置eslint适用于vue代码
- "eslint.validate": [
- "javascript",
- "typescript",
- "vue"
- ],
+ "eslint.validate": ["javascript", "typescript", "vue"],
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
@@ -22,12 +18,15 @@
"[js]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
+ "[json]": {
+ "editor.defaultFormatter": "esbenp.prettier-vscode"
+ },
// 保存时 prettier 自动格式化
"editor.formatOnSave": true,
// 保存时自动启用 eslint --fix 自动修复
"editor.codeActionsOnSave": {
"source.fixAll": true,
- "eslint.autoFixOnSave": true,
+ "eslint.autoFixOnSave": true
},
"eslint.options": {
"overrideConfig": {
@@ -49,16 +48,12 @@
},
"i18n-ally.displayLanguage": "zh-cn",
"i18n-ally.enabledParsers": ["json", "js"],
- "i18n-ally.localesPaths": [
- "src/i18n/lang",
- "src/i18n/pages/login",
- "src/i18n/pages/menu",
- ],
+ "i18n-ally.localesPaths": ["src/i18n/lang", "src/i18n/pages/login", "src/i18n/pages/menu"],
"i18n-ally.extract.parsers.html": {
"attributes": ["text", "title", "alt", "placeholder", "label", "aria-label"],
"ignoredTags": ["script", "style"],
"vBind": true,
"inlineText": true
},
- "i18n-ally.keystyle": "nested",
-}
\ No newline at end of file
+ "i18n-ally.keystyle": "nested"
+}
diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue
index ef6264c..12e1064 100644
--- a/src/layout/components/Settings/index.vue
+++ b/src/layout/components/Settings/index.vue
@@ -21,7 +21,7 @@
ZRAdmin.NET借鉴了很多开源项目的优点,让你开发Web管理系统更简单,所以我也把它给开源了(前端
- vue页面主要参考若依,在此表示感谢.)
+ vue页面主要使用了若依,后端参考Ruoyi stringboot版本,在此表示感谢.)
{{ $t('layout.content1') }}
diff --git a/src/views/index_v1.vue b/src/views/index_v1.vue
index dd8aa6a..bea6d31 100644
--- a/src/views/index_v1.vue
+++ b/src/views/index_v1.vue
@@ -31,14 +31,8 @@