2
0
Эх сурвалжийг харах

chore: use '' instead of undefined (#205)

Chester 6 жил өмнө
parent
commit
e68321eac0

+ 1 - 1
packages/reactivity/src/ref.ts

@@ -3,7 +3,7 @@ import { OperationTypes } from './operations'
 import { isObject } from '@vue/shared'
 import { reactive } from './reactive'
 
-export const refSymbol = Symbol(__DEV__ ? 'refSymbol' : undefined)
+export const refSymbol = Symbol(__DEV__ ? 'refSymbol' : '')
 
 export interface Ref<T = any> {
   [refSymbol]: true