BEIJING - China's Foreign Ministry said on Tuesday that it was misleading to suggest Beijing needed a trade deal with the United States because its economy was slowing, following a tweet by U.S. President Donald Trump.

China's economic growth was "not bad", said ministry spokesman Geng Shuang in comments made at a daily news briefing in Beijing.

Trump seized on slowing economic growth in China as evidence that U.S. tariffs were having "a major effect" and warned that Washington could pile on more pressure.

Official data on Monday showed China's economic growth cooled to 6.2% in the second quarter, its weakest pace in at least 27 years. 

(Reporting by Ben Blanchard; Writing by Ryan Woo Editing by Shri Navaratnam) ((ben.blanchard@thomsonreuters.com; +86 10 6627 1201; Reuters Messaging: ben.blanchard.thomsonreuters.com@reuters.net))