Jelajahi Sumber

fix(compat): correct deprecation message for v-bind.sync usage (#13137)

close #13133
linzhe 1 tahun lalu
induk
melakukan
466b30f404
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/compiler-core/src/parser.ts

+ 1 - 1
packages/compiler-core/src/parser.ts

@@ -388,7 +388,7 @@ const tokenizer = new Tokenizer(stack, {
               CompilerDeprecationTypes.COMPILER_V_BIND_SYNC,
               currentOptions,
               currentProp.loc,
-              currentProp.rawName,
+              currentProp.arg!.loc.source,
             )
           ) {
             currentProp.name = 'model'