Browse Source

fix: build lint

lanceJiang 9 months ago
parent
commit
cbd93a0ecc
2 changed files with 10 additions and 10 deletions
  1. 5 5
      package.json
  2. 5 5
      src/views/login/index.vue

+ 5 - 5
package.json

@@ -8,7 +8,7 @@
     "start": "npm run dev",
     "serve": "npm run dev",
     "dev": "vite serve --mode development",
-    "build": "vue-tsc --noEmit && vite build --mode production",
+    "build": "vite build --mode production",
     "build:dev": "vite build --mode development",
     "build:test": "vite build --mode test",
     "build:pre": "vite build --mode staging",
@@ -37,7 +37,7 @@
     "@vuelidate/validators": "^2.0.0",
     "@vueuse/core": "^10.1.2",
     "async": "^3.2.4",
-    "axios": "^1.4.0",
+    "axios": "^1.7.5",
     "canvas": "^2.11.2",
     "codemirror": "^6.0.1",
     "colord": "^2.9.3",
@@ -116,9 +116,9 @@
     "rollup-plugin-visualizer": "^5.9.0",
     "sass": "^1.62.1",
     "tailwindcss": "^3.4.4",
-    "typescript": "^5.0.4",
+    "typescript": "^5.5.4",
     "unplugin-vue-setup-extend-plus": "^1.0.0",
-    "vite": "^4.3.8",
+    "vite": "^5.3.2",
     "vite-plugin-compression": "^0.5.1",
     "vite-plugin-eslint": "^1.8.1",
     "vite-plugin-html": "^3.2.0",
@@ -126,6 +126,6 @@
     "vue-tsc": "^1.6.5"
   },
   "engines": {
-    "node": ">=16.0.0"
+		"node": ">=16.18.0"
   }
 }

+ 5 - 5
src/views/login/index.vue

@@ -137,7 +137,7 @@ export default {
 .login_bg {
 	width: 100%;
 	height: 100%;
-	//background: #fff;
+	/*background: #fff;*/
 	background: var(--el-bg-color);
 	display: flex;
 }
@@ -151,7 +151,7 @@ export default {
 }
 .login_adv__title {
 	color: #fff;
-	//color: var(--el-bg-color);
+	/*color: var(--el-bg-color);*/
 	padding: 40px;
 	position: absolute;
 	top: 0px;
@@ -171,8 +171,8 @@ export default {
 	font-size: 14px;
 	margin-top: 10px;
 	line-height: 1.8;
-	//color: rgba(255, 255, 255, 0.6);
 	opacity: 0.6;
+	/*color: rgba(255, 255, 255, 0.6);*/
 }
 .login_adv__title div {
 	margin-top: 10px;
@@ -187,8 +187,8 @@ export default {
 }
 .login_adv__title div i.add {
 	font-size: 20px;
-	//color: rgba(255, 255, 255, 0.6);
 	opacity: 0.6;
+	/*color: rgba(255, 255, 255, 0.6);*/
 }
 .login_adv__bottom {
 	position: absolute;
@@ -197,8 +197,8 @@ export default {
 	bottom: 0px;
 	color: #fff;
 	padding: 40px;
-	//background-image: linear-gradient(transparent, #000);
 	z-index: 3;
+	/*background-image: linear-gradient(transparent, #000);*/
 }
 .login_adv__mask {
 	position: absolute;