Legal analysis: If you leave the company directly, the company can handle it according to the provisions in the contract, and may require you to pay liquidated damages, which may even affect your next new job. Leaving directly will involve breach of contract. If the contract stipulates liquidated damages, then you need to bear the liability for breach of contract. You can negotiate with the unit. If negotiation fails, you can only inform first and leave directly after 31 days.
legal basis: labor contract law of the people's Republic of China
article 36 the employer and the employee may terminate the labor contract through consultation.
article 37 a laborer may terminate the labor contract by giving a written notice to the employer 31 days in advance. The employee may terminate the labor contract by notifying the employer three days in advance during the probation period.