Swelling of the legs in heart disease may be caused by heart failure, so you can choose appropriate diuretic drugs for treatment, such as hydrochlorothiazide tablets, spironolactone tablets and other drugs. Hydrochlorothiazide tablets are a widely used diuretic in clinic, which is mainly used for the treatment of edema caused by congestive heart failure and other diseases by promoting the excretion of water and sodium in the body after taking the drug. The use of this drug may appear hypokalemia, hyperuricemia and other adverse reactions, lactating women should not be used, allergic to this product is prohibited. The main function of spironolactone tablets is diuretic, which can regulate the water electrolytes in the body and make it maintain a balanced state. There may be some adverse reactions when taking it, such as hyperkalemia, nausea, vomiting, etc. Note that patients with anuria, hepatic and renal insufficiency, metabolic acidosis should be cautious, and patients with hyperkalemia are prohibited. Patients must follow the doctor’s instruction when taking the medicine, and must not take the medicine without authorization to avoid delaying the condition.