From a0ce674bbe0e38e711c481da6f4be72b43bfcbf1 Mon Sep 17 00:00:00 2001 From: nemo shen Date: Sat, 6 Jan 2024 20:19:10 +0800 Subject: [PATCH] chore: format --- .prettierignore | 1 + src/store.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 .prettierignore diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..7e389d6 --- /dev/null +++ b/.prettierignore @@ -0,0 +1 @@ +components.d.ts \ No newline at end of file diff --git a/src/store.ts b/src/store.ts index af8dbed..997dc0c 100644 --- a/src/store.ts +++ b/src/store.ts @@ -106,7 +106,7 @@ export class VantReplStore extends ReplStore { getVueVersion() { // TODO: @vue/repl 初始化阶段就应该提供 getVueVersion,初始化时的 this.vueVersion 是无效的 // ! 这种写法后续应该通过获取 this.vueVersion 替代 - return this._getVersion('vue') + return this._getVersion('vue'); } getVantVersion() {