jiàn​jī'ér​xíng

to act according to circumstances