The image of peer superpowers during President Trump's visit displayed a dynamic that analysts say the Chinese have long sought and Americans had resisted.
But two vulnerable Republicans joined Democrats in the effort to force President Trump to win authorization from Congress, in the latest sign of G.O.P. jitters over the war.