test: fix options usage of reactive
This commit is contained in:
		
							parent
							
								
									e67f655b26
								
							
						
					
					
						commit
						5d952cc051
					
				| @ -249,8 +249,9 @@ export function applyOptions( | ||||
|   } = options | ||||
| 
 | ||||
|   const renderContext = | ||||
|     instance.renderContext === EMPTY_OBJ | ||||
|       ? (instance.renderContext = {}) | ||||
|     instance.renderContext === EMPTY_OBJ && | ||||
|     (computedOptions || methods || watchOptions || injectOptions) | ||||
|       ? (instance.renderContext = reactive({})) | ||||
|       : instance.renderContext | ||||
| 
 | ||||
|   const globalMixins = instance.appContext.mixins | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user