diff --git a/.gitignore b/.gitignore
index 7c04f0e..32f62d7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,6 +19,7 @@ coverage
# Editor directories and files
.idea
+.vscode
*.suo
*.ntvs*
*.njsproj
diff --git a/.vscode/settings.json b/.vscode/settings.json
index fed1394..5e453ae 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -2,7 +2,7 @@
"explorer.confirmDelete": false,
"editor.fontSize": 18,
"workbench.editorAssociations": {
- "*.ipynb": "jupyter.notebook.ipynb"
+ "*.ipynb": "jupyter.notebook.ipynb"
},
"window.zoomLevel": 1,
"workbench.iconTheme": "vscode-icons",
@@ -32,13 +32,14 @@
"editor.formatOnSave": true
},
"[vue]": {
- "editor.defaultFormatter": "octref.vetur",
+ "editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true
},
"css.validate": false, //用来校验CSS文件中的语法错误和潜在的问题
"less.validate": false, //用来校验LESS文件中的语法错误和潜在的问题
"scss.validate": false, //用来校验SCSS文件中的语法错误和潜在的问题
- "editor.codeActionsOnSave": { // 用于在保存文件时自动执行代码操作
+ "editor.codeActionsOnSave": {
+ // 用于在保存文件时自动执行代码操作
"source.fixAll.eslint": "explicit", // 自动执行ESlint
"source.fixAll.stylelint": "explicit" // 自动执行stylelint
},
@@ -54,15 +55,16 @@
"xml",
"gql",
"graphql",
- "astro",
+ "astro"
],
- "eslint.nodePath": "./node_modules/@yl/yili-fe-lint-config/node_modules", // 指定ESLint可执行文件路径
- "eslint.options": { // 用于配置
+ "eslint.nodePath": "./node_modules/@yl/yili-fe-lint-config/node_modules", // 指定ESLint可执行文件路径
+ "eslint.options": {
+ // 用于配置
"overrideConfigFile": "./node_modules/@yl/yili-fe-lint-config/eslintrc.vue3.js" //该选项指定了 ESLint 应使用的配置文件路径。此项设置会覆盖所有其他位置查找的 ESLint 配置文件。
},
"stylelint.configBasedir": "./node_modules/@yl/yili-fe-lint-config/", //该选项用于定义 Stylelint 配置文件所基于的基础目录。当您的配置文件中使用 extends、plugins 或其他引用时,这个基础目录将作为解析路径的起点
"stylelint.configFile": "./node_modules/@yl/yili-fe-lint-config/stylelintrc.js", // 该选项指定了 stylelint 应使用的配置文件路径。此项设置会覆盖所有其他位置查找的 stylelint 配置文件
- "stylelint.customSyntax": "postcss-scss", // 配置stylelint使用的预处理器
+ "stylelint.customSyntax": "postcss-scss", // 配置stylelint使用的预处理器
"stylelint.stylelintPath": "./node_modules/@yl/yili-fe-lint-config/node_modules/stylelint", // 指定stylelint安装路径
"stylelint.validate": ["html", "css", "scss", "less", "vue"]
-}
\ No newline at end of file
+}
diff --git a/components.d.ts b/components.d.ts
index 3547e0a..5910199 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -2,7 +2,7 @@
// @ts-nocheck
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
-export {};
+export {}
/* prettier-ignore */
declare module 'vue' {
diff --git a/src/views/Design/components/Questions/Completion.vue b/src/views/Design/components/Questions/Completion.vue
index a17826d..1630174 100644
--- a/src/views/Design/components/Questions/Completion.vue
+++ b/src/views/Design/components/Questions/Completion.vue
@@ -27,7 +27,7 @@ const props = defineProps({
element: {
type: Object,
default: () => {
- //补充
+ // 补充
}
},
active: {
diff --git a/src/views/Home/Index.vue b/src/views/Home/Index.vue
index c3a1388..52ef3da 100644
--- a/src/views/Home/Index.vue
+++ b/src/views/Home/Index.vue
@@ -1,23 +1,24 @@
@@ -28,19 +29,16 @@ const func = [{