refactor(reactivity): remove keyIsSymbol (#2262)
				
					
				
			This commit is contained in:
		
							parent
							
								
									9b34f915ab
								
							
						
					
					
						commit
						af1f5d33aa
					
				| @ -89,9 +89,8 @@ function createGetter(isReadonly = false, shallow = false) { | |||||||
| 
 | 
 | ||||||
|     const res = Reflect.get(target, key, receiver) |     const res = Reflect.get(target, key, receiver) | ||||||
| 
 | 
 | ||||||
|     const keyIsSymbol = isSymbol(key) |  | ||||||
|     if ( |     if ( | ||||||
|       keyIsSymbol |       isSymbol(key) | ||||||
|         ? builtInSymbols.has(key as symbol) |         ? builtInSymbols.has(key as symbol) | ||||||
|         : key === `__proto__` || key === `__v_isRef` |         : key === `__proto__` || key === `__v_isRef` | ||||||
|     ) { |     ) { | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user