2
0
Evan You 3 жил өмнө
parent
commit
9ca8b7c1b5

+ 1 - 1
packages/compiler-core/__tests__/transforms/vModel.spec.ts

@@ -575,7 +575,7 @@ describe('compiler: transform v-model', () => {
       expect(onError).toHaveBeenCalledTimes(1)
       expect(onError).toHaveBeenCalledWith(
         expect.objectContaining({
-          code: ErrorCodes.X_V_MODEL_ON_SCOPE_VARIABLE
+          code: ErrorCodes.X_V_MODEL_ON_PROPS
         })
       )
     })