From 90ef9856a0885fa812339cb7047ecc98b86c7b73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=87=AF=E9=BE=99?= <502431556@qq.com> Date: Thu, 14 Apr 2022 08:58:02 +0800 Subject: [PATCH] fix: fix the error reported by the Editor component --- .vscode/settings.json | 2 +- src/components/Editor/src/Editor.vue | 18 +++++++++++++----- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 4fde8c5..2bbdc0f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,7 +5,7 @@ "source.fixAll.eslint": true }, "[vue]": { - "editor.defaultFormatter": "johnsoncodehk.volar" + "editor.defaultFormatter": "rvest.vs-code-prettier-eslint" }, "i18n-ally.localesPaths": ["src/locales"], "i18n-ally.keystyle": "nested", diff --git a/src/components/Editor/src/Editor.vue b/src/components/Editor/src/Editor.vue index 1a1c46a..b2a8d13 100644 --- a/src/components/Editor/src/Editor.vue +++ b/src/components/Editor/src/Editor.vue @@ -1,6 +1,6 @@