a sudden wish, desire, decision, etc.一时的兴致;突然的念头;突然的决定
the whims of fashion
一时兴起的时尚潮流
It’s hard to predict voters’ whims.
很难预料选民们一时的决定。
Her husband tries to satisfy her every whim. [=make her happy by doing everything that she wants]
她丈夫尽力对她百依百顺。
He quit his job on a whim. [=because of a sudden decision]
他一时冲动辞了职。
The shop is only open at the whim of the owner. [=the shop is only open when the owner wants it to be open]
这家店只有在老板想营业时才开门。

He was forced to pander to her every whim.
她每次心血来潮他都不得不依随她。