From b5c1614fe473330ceca8b7cff0f1802e19bd5039 Mon Sep 17 00:00:00 2001 From: Sanakey <714737083@qq.com> Date: 星期一, 30 九月 2024 13:39:08 +0800 Subject: [PATCH] feat:添加部分线索接口,完善客户相关页面 --- .vscode/settings.json | 211 +++++++++++++++++++++++----------------------------- 1 files changed, 94 insertions(+), 117 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e49048f..70adb5a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -2,56 +2,9 @@ "typescript.tsdk": "./node_modules/typescript/lib", "volar.tsPlugin": true, "volar.tsPluginStatus": false, - //=========================================== - //============= Editor ====================== - //=========================================== - "explorer.openEditors.visible": 0, - "editor.minimap.renderCharacters": false, - "editor.minimap.maxColumn": 300, - "editor.minimap.showSlider": "always", - "editor.smoothScrolling": true, - "editor.cursorBlinking": "phase", - "editor.cursorSmoothCaretAnimation": true, - "editor.detectIndentation": false, - "diffEditor.ignoreTrimWhitespace": false, - "javascript.format.insertSpaceBeforeFunctionParenthesis": true, - "editor.formatOnPaste": true, - "editor.formatOnSave": true, - "editor.suggestSelection": "first", - "editor.trimAutoWhitespace": true, - "editor.quickSuggestions": { - "other": true, - "comments": true, - "strings": true - }, - //=========================================== - //============= Other ======================= - //=========================================== - "breadcrumbs.enabled": true, - "open-in-browser.default": "chrome", - //=========================================== - //============= emmet ======================= - //=========================================== - "emmet.triggerExpansionOnTab": true, - "emmet.showAbbreviationSuggestions": true, - "emmet.showExpandedAbbreviation": "always", - "emmet.syntaxProfiles": { - "vue-html": "html", - "vue": "html", - "javascript": "javascriptreact", - "xml": { - "attr_quotes": "single" - } - }, - "emmet.includeLanguages": { - "jsx-sublime-babel-tags": "javascriptreact" - }, - //=========================================== - //============= files ======================= - //=========================================== - "files.trimTrailingWhitespace": true, - "files.insertFinalNewline": true, - "files.trimFinalNewlines": true, + "npm.packageManager": "pnpm", + "editor.tabSize": 2, + "editor.defaultFormatter": "esbenp.prettier-vscode", "files.eol": "\n", "search.exclude": { "**/node_modules": true, @@ -74,12 +27,16 @@ "CHANGELOG.md": true, "examples": true, "res": true, - "screenshots": true + "screenshots": true, + "yarn-error.log": true, + "**/.yarn": true }, "files.exclude": { + "**/.cache": true, + "**/.editorconfig": true, + "**/.eslintcache": true, "**/bower_components": true, "**/.idea": true, - "**/yarn.lock": true, "**/tmp": true, "**/.git": true, "**/.svn": true, @@ -88,7 +45,6 @@ "**/.DS_Store": true }, "files.watcherExclude": { - // 鏂囦欢鐩戣鎺掗櫎 "**/.git/objects/**": true, "**/.git/subtree-cache/**": true, "**/.vscode/**": true, @@ -98,69 +54,11 @@ "**/dist/**": true, "**/yarn.lock": true }, - "files.associations": { - "*.vue": "vue", - "*.wxss": "css" - }, "stylelint.enable": true, - "stylelint.packageManager": "yarn", - "css.validate": true, - "less.validate": true, - "scss.validate": true, - // 鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌鈫撯啌 - // =========================================== - // ================ Eslint =================== - // =========================================== - // "eslint.enable": true, - "eslint.alwaysShowStatus": true, - "eslint.options": { - // 閰嶇疆 - "plugins": ["html", "vue", "javascript", "jsx", "typescript"], - "extensions": [".js", ".jsx", ".ts", ".tsx", ".vue"] - }, - "eslint.validate": [ - "javascript", - "typescript", - "reacttypescript", - "reactjavascript", - "html", - "vue" - ], - // "eslint.autoFixOnSave": true, - // =========================================== - // ================ Vetur ==================== - // =========================================== - "vetur.experimental.templateInterpolationService": true, - "vetur.format.options.tabSize": 2, - "vetur.format.defaultFormatter.html": "js-beautify-html", - "vetur.format.defaultFormatter.scss": "prettier", - "vetur.format.defaultFormatter.css": "prettier", - "vetur.format.defaultFormatter.ts": "prettier-tslint", - "vetur.format.defaultFormatter.js": "prettier", - "vetur.languageFeatures.codeActions": false, - "vetur.format.defaultFormatterOptions": { - "js-beautify-html": { - "wrap_attributes": "force-expand-multiline" - }, - "prettier": { - "eslintIntegration": true, - "arrowParens": "always", - "semi": false, - "singleQuote": true - } - }, - "javascript.updateImportsOnFileMove.enabled": "never", - "liveServer.settings.donotShowInfoMsg": true, - "terminal.integrated.rendererType": "dom", - "telemetry.enableCrashReporter": false, - "telemetry.enableTelemetry": false, - "workbench.settings.enableNaturalLanguageSearch": false, + "stylelint.validate": ["css", "less", "postcss", "scss", "vue", "sass"], "path-intellisense.mappings": { - "/@/": "${workspaceRoot}/src" + "@/": "${workspaceRoot}/src" }, - "prettier.requireConfig": true, - "typescript.updateImportsOnFileMove.enabled": "always", - "workbench.sideBar.location": "left", "[javascriptreact]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, @@ -186,14 +84,93 @@ "editor.defaultFormatter": "esbenp.prettier-vscode" }, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit", + "source.fixAll.stylelint": "explicit" + }, + "[vue]": { + "editor.codeActionsOnSave": { + "source.fixAll.eslint": "explicit", + "source.fixAll.stylelint": "explicit" + }, + "editor.defaultFormatter": "esbenp.prettier-vscode" }, "i18n-ally.localesPaths": ["src/locales/lang"], "i18n-ally.keystyle": "nested", "i18n-ally.sortKeys": true, "i18n-ally.namespace": true, "i18n-ally.pathMatcher": "{locale}/{namespaces}.{ext}", - "i18n-ally.enabledParsers": ["ts"], - "i18n-ally.sourceLanguage": "zh", - "i18n-ally.enabledFrameworks": ["vue", "react"] + "i18n-ally.enabledParsers": ["json", "ts", "js"], + "i18n-ally.sourceLanguage": "en", + "i18n-ally.displayLanguage": "zh-CN", + "i18n-ally.enabledFrameworks": ["vue", "react"], + "cSpell.words": [ + "antd", + "antv", + "brotli", + "browserslist", + "codemirror", + "commitlint", + "cropperjs", + "echarts", + "esnext", + "esno", + "iconify", + "INTLIFY", + "lintstagedrc", + "logicflow", + "mockjs", + "nprogress", + "pinia", + "pnpm", + "qrcode", + "sider", + "sortablejs", + "stylelint", + "tailwindcss", + "tinymce", + "unocss", + "unref", + "vben", + "vditor", + "Vite", + "vitejs", + "vueuse", + "zxcvbn" + ], + "vetur.format.scriptInitialIndent": true, + "vetur.format.styleInitialIndent": true, + "vetur.validation.script": false, + "MicroPython.executeButton": [ + { + "text": "鈻�", + "tooltip": "杩愯", + "alignment": "left", + "command": "extension.executeFile", + "priority": 3.5 + } + ], + "MicroPython.syncButton": [ + { + "text": "$(sync)", + "tooltip": "鍚屾", + "alignment": "left", + "command": "extension.execute", + "priority": 4 + } + ], + // 鎺у埗鐩稿叧鏂囦欢宓屽灞曠ず + "explorer.fileNesting.enabled": true, + "explorer.fileNesting.expand": false, + "explorer.fileNesting.patterns": { + "*.ts": "$(capture).test.ts, $(capture).test.tsx", + "*.tsx": "$(capture).test.ts, $(capture).test.tsx", + "*.env": "$(capture).env.*", + "CHANGELOG.md": "CHANGELOG*", + "package.json": "pnpm-lock.yaml,pnpm-workspace.yaml,LICENSE,.gitattributes,.gitignore,.gitpod.yml,CNAME,README*,.npmrc,.browserslistrc", + ".eslintrc.cjs": ".eslintignore,.prettierignore,.stylelintignore,.commitlintrc.*,.prettierrc.*,.stylelintrc.*" + }, + "terminal.integrated.scrollback": 10000, + "nuxt.isNuxtApp": false, + "vscodeCustomCodeColor.highlightValue": "v-auth", + "vscodeCustomCodeColor.highlightValueColor": "#6366f1" } -- Gitblit v1.8.0