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() {