The present invention provides an application of a combination of traditional Chinese medicine in the preparation of a potassium ion channel modulating agent. The combination of traditional Chinese medicine is made up of traditional Chinese medicine raw materials according to the following weight proportion: The combination of traditional Chinese medicine of the present invention could prolong the action potential interval of the myocardial cells, thereby prolong the refractory period of myocardial electrical activity. It has the function of inhibiting arrhythmia induced by excitatory reentry without toxic side effects. The invention provides a new medicine for the treatment of ventricular, atrial or ventricular arrhythmias, and it has a good application prospect. The invention is easy to be operated and suitable for large-scale production.