Most companies will think that it takes time and money to train a talented person or excellent employee, and it is only a matter of time before they get married and have children. If you take 1-2 annual leave, the position will be vacant, which will have an impact on the company. If you resign after taking leave, it will directly lead to brain drain and the company's training investment will be wasted!
This problem will be encountered by all enterprises. Married women don't get pregnant, so companies will bear all kinds of expenses brought by pregnancy, because if you get married on the basis of traditional culture, you will definitely have children. If you get pregnant just after entering the company, it will not only bring profits to the company, but also cause other costs to the company. This is unacceptable to the boss, who is not a philanthropist. This is only from the perspective of the enterprise. If you really encounter this situation when looking for a job, you can use legal weapons to safeguard your rights and interests.