From f7154d173c580a9f7deb3f02baa6726093d82e4e Mon Sep 17 00:00:00 2001 From: feige996 <1020102647@qq.com> Date: Tue, 8 Jul 2025 16:45:21 +0800 Subject: [PATCH] =?UTF-8?q?refactor(=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE):?= =?UTF-8?q?=20=E5=B0=86=E8=B7=AF=E7=94=B1=E9=85=8D=E7=BD=AE=E4=BB=8Ejson5?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E7=BB=9F=E4=B8=80=E6=94=B9=E4=B8=BAjsonc?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 统一项目中的路由配置格式,从json5改为jsonc,保持一致性 移除json5特有的注释语法,使用标准json格式 更新vscode代码片段模板以匹配新的格式规范 --- .vscode/vue3.code-snippets | 10 +++++----- src/pages-sub/demo/index.vue | 10 +++++----- src/pages/about/about.vue | 10 +++++----- src/pages/about/alova.vue | 10 +++++----- src/pages/index/index.vue | 14 +++++++------- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.vscode/vue3.code-snippets b/.vscode/vue3.code-snippets index 51bab9f..5ecf79f 100644 --- a/.vscode/vue3.code-snippets +++ b/.vscode/vue3.code-snippets @@ -19,12 +19,12 @@ "scope": "vue", "prefix": "v3", "body": [ - "", + "", "{", - " layout: 'default',", - " style: {", - " navigationBarTitleText: '$1',", - " },", + " \"layout\": \"default\",", + " \"style\": {", + " \"navigationBarTitleText\": \"$1\"", + " }", "}", "\n", "