diff --git a/package.json b/package.json
index 262cb1a..5a8d40a 100644
--- a/package.json
+++ b/package.json
@@ -68,7 +68,7 @@
"eslint-plugin-vue": "^9.1.1",
"filemanager-webpack-plugin": "^8.0.0",
"image-webpack-loader": "^8.1.0",
- "lint-staged": "^14.0.0",
+ "lint-staged": "^14.0.1",
"prettier": "^2.8.8",
"sass": "~1.32.13",
"sass-loader": "^10.1.1",
diff --git a/prettier.config.js b/prettier.config.js
index 9e839e0..9316617 100644
--- a/prettier.config.js
+++ b/prettier.config.js
@@ -4,7 +4,7 @@
*/
module.exports = {
- printWidth: 130,
+ printWidth: 140,
tabWidth: 2,
useTabs: false,
semi: false,
diff --git a/src/components/VabUpload/index.vue b/src/components/VabUpload/index.vue
index 872293e..7e353ff 100644
--- a/src/components/VabUpload/index.vue
+++ b/src/components/VabUpload/index.vue
@@ -1,11 +1,5 @@
-
+
关闭
-
- 开始上传
-
+ 开始上传
@@ -142,10 +134,7 @@
handleError() {
this.imgNum = this.imgNum + 1
this.imgErrorNum = this.imgErrorNum + 1
- this.$baseMessage(
- `文件[${file.raw.name}]上传失败,文件大小为${this.$baseLodash.round(file.raw.size / 1024, 0)}KB`,
- 'error'
- )
+ this.$baseMessage(`文件[${file.raw.name}]上传失败,文件大小为${this.$baseLodash.round(file.raw.size / 1024, 0)}KB`, 'error')
setTimeout(() => {
this.loading = false
this.show = false
diff --git a/src/utils/index.js b/src/utils/index.js
index 0c97885..3d5b557 100644
--- a/src/utils/index.js
+++ b/src/utils/index.js
@@ -90,9 +90,7 @@ export function paramObj(url) {
if (!search) {
return {}
}
- return JSON.parse(
- `{"${decodeURIComponent(search).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"').replace(/\+/g, ' ')}"}`
- )
+ return JSON.parse(`{"${decodeURIComponent(search).replace(/"/g, '\\"').replace(/&/g, '","').replace(/=/g, '":"').replace(/\+/g, ' ')}"}`)
}
/**
diff --git a/src/views/index/index.vue b/src/views/index/index.vue
index 4ae9c1d..7b4f896 100644
--- a/src/views/index/index.vue
+++ b/src/views/index/index.vue
@@ -143,12 +143,7 @@
更新日志
-
+
{{ activity.content }}
diff --git a/src/views/personnelManagement/menuManagement/index.vue b/src/views/personnelManagement/menuManagement/index.vue
index b32c9d7..42ccda3 100644
--- a/src/views/personnelManagement/menuManagement/index.vue
+++ b/src/views/personnelManagement/menuManagement/index.vue
@@ -5,13 +5,7 @@
-
+
diff --git a/src/views/register/index.vue b/src/views/register/index.vue
index 6ef93e8..1dae0b0 100644
--- a/src/views/register/index.vue
+++ b/src/views/register/index.vue
@@ -26,14 +26,7 @@
-
+
diff --git a/src/views/vab/icon/colorfulIcon.vue b/src/views/vab/icon/colorfulIcon.vue
index 6d5db02..8b8cd18 100644
--- a/src/views/vab/icon/colorfulIcon.vue
+++ b/src/views/vab/icon/colorfulIcon.vue
@@ -2,9 +2,7 @@
-
- 多彩图标在演示环境中使用的是cdn加速服务,开发时需存储到本地,点击图标即可复制源码
-
+ 多彩图标在演示环境中使用的是cdn加速服务,开发时需存储到本地,点击图标即可复制源码
diff --git a/src/views/vab/tree/index.vue b/src/views/vab/tree/index.vue
index a49675d..098695a 100644
--- a/src/views/vab/tree/index.vue
+++ b/src/views/vab/tree/index.vue
@@ -42,13 +42,7 @@
懒加载树
-
+