Labor Standards Act Article 10

If a new contract is executed, or an existing contract is renewed, within three months after the expiration of a fixed term contract or the termination of a non-fixed term contract for cause, the service period accrued before the execution or renewal of the contract shall be combined with the service period of the new or renewed contract in any computation of service period.
中文原文 勞動基準法第10條
定期契約屆滿後或不定期契約因故停止履行後,未滿三個月而訂定新約或繼續履行原約時,勞工前後工作年資,應合併計算。

English translation for reference only; the Chinese text prevails. Not legal advice.