kàn​shì​zuò​shì

to act according to the situation