diff --git a/package.json b/package.json
index 15c1b0c..ae415fb 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"lodash-es": "^4.17.21",
"mitt": "^2.1.0",
"mockjs": "^1.1.0",
- "naive-ui": "^2.25.2",
+ "naive-ui": "^2.26.4",
"pinia": "^2.0.11",
"qs": "^6.10.3",
"vfonts": "^0.1.0",
diff --git a/src/App.vue b/src/App.vue
index 34ec08e..db690d2 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -18,7 +18,7 @@
diff --git a/src/layout/components/Header/ProjectSetting.vue b/src/layout/components/Header/ProjectSetting.vue
index 22835f4..e6aaf7a 100644
--- a/src/layout/components/Header/ProjectSetting.vue
+++ b/src/layout/components/Header/ProjectSetting.vue
@@ -359,6 +359,7 @@
margin: 0 5px 5px 0;
text-align: center;
line-height: 14px;
+
.n-icon {
color: #fff;
}
diff --git a/src/layout/components/Menu/index.vue b/src/layout/components/Menu/index.vue
index 3036c19..f2ac080 100644
--- a/src/layout/components/Menu/index.vue
+++ b/src/layout/components/Menu/index.vue
@@ -15,153 +15,153 @@
diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue
index 8fd8513..28dbf8a 100644
--- a/src/layout/components/TagsView/index.vue
+++ b/src/layout/components/TagsView/index.vue
@@ -80,600 +80,600 @@
diff --git a/src/layout/index.vue b/src/layout/index.vue
index 665c1fc..5f96d5c 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -1,7 +1,9 @@
diff --git a/src/settings/projectSetting.ts b/src/settings/projectSetting.ts
index 8612fa4..d8209de 100644
--- a/src/settings/projectSetting.ts
+++ b/src/settings/projectSetting.ts
@@ -36,7 +36,7 @@ const setting = {
//分割菜单
mixMenu: false,
//触发移动端侧边栏的宽度
- mobileWidth: 800
+ mobileWidth: 800,
},
//面包屑
crumbsSetting: {
diff --git a/src/styles/common.less b/src/styles/common.less
index 235d0b6..94bb26b 100644
--- a/src/styles/common.less
+++ b/src/styles/common.less
@@ -1,9 +1,12 @@
-#app, body, html {
+#app,
+body,
+html {
height: 100%;
}
body {
- font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, "\5FAE\8F6F\96C5\9ED1", Arial, sans-serif;
+ font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei,
+ '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif;
line-height: 1.5;
color: #515a6e;
font-size: 14px;
@@ -15,7 +18,7 @@ body {
//重置样式
.anticon {
svg {
- vertical-align: initial
+ vertical-align: initial;
}
}
@@ -25,10 +28,11 @@ a {
text-decoration: none;
outline: none;
cursor: pointer;
- transition: color .2s ease;
+ transition: color 0.2s ease;
}
-a:active, a:hover {
+a:active,
+a:hover {
outline-width: 0;
}
@@ -40,7 +44,8 @@ a:active {
color: #2b85e4;
}
-a:active, a:hover {
+a:active,
+a:hover {
outline: 0;
text-decoration: none;
}
@@ -91,7 +96,7 @@ a:active, a:hover {
//antd 卡片样式定制
body .n-card {
- transition: all .2s ease-in-out;
+ transition: all 0.2s ease-in-out;
}
body .n-icon {
@@ -110,7 +115,7 @@ body .proCard {
}
}
-body .n-modal{
+body .n-modal {
border-radius: 6px;
}
diff --git a/src/views/iframe/index.vue b/src/views/iframe/index.vue
index 8366ac1..5ee212e 100644
--- a/src/views/iframe/index.vue
+++ b/src/views/iframe/index.vue
@@ -43,7 +43,6 @@
loading.value = true;
init();
});
-