Browse Source

fix: 修复自动格式化无效

kailong321200875 1 năm trước cách đây
mục cha
commit
bd82108581
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      .vscode/settings.json
  2. 1 1
      src/styles/index.less

+ 1 - 1
.vscode/settings.json

@@ -1,6 +1,6 @@
 {
   "typescript.tsdk": "node_modules/typescript/lib",
-  "prettier.enable": false,
+  "prettier.enable": true,
   "editor.codeActionsOnSave": {
     "source.fixAll.eslint": true
   },

+ 1 - 1
src/styles/index.less

@@ -4,4 +4,4 @@
 // 解决抽屉弹出时,body宽度变化的问题
 .el-popup-parent--hidden {
   width: 100% !important;
-}
+}