mirror of
				https://github.com/vuejs/babel-plugin-jsx.git
				synced 2025-10-31 17:32:32 +08:00 
			
		
		
		
	fix: exclude TemplateLiteral expression from isConstant
This commit is contained in:
		| @@ -323,7 +323,7 @@ export const isConstant = ( | ||||
|       isConstant((property as any).value) | ||||
|     ); | ||||
|   } | ||||
|   if (t.isLiteral(node)) { | ||||
|   if (t.isLiteral(node) && !t.isTemplateLiteral(node)) { | ||||
|     return true; | ||||
|   } | ||||
|   return false; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user