Presidential and Vice Presidential Election and Recall Act Article 23-1

If a prospective candidate for president dies during the period prescribed for collecting signatures, the Central Election Commission shall issue public notice that the joint-signature petition for that pair of prospective candidates for president and vice president has been terminated; if a prospective candidate for vice president dies during the period prescribed for collecting signatures, the joint-signature petition shall remain valid and the presidential nominee shall, within three days, submit an application to the Central Election Commission for the replacement of the prospective candidate for vice president and continue to solicit signatures for the joint-signature petition.If a prospective candidate for president dies after completing their joint-signature petition, but before applying for registration as a candidate, that pair of prospective candidates for president and vice president shall not apply for registration as candidates. If the prospective candidate for vice president dies after completing their joint-signature petition, but before applying for registration as a candidate, the prospective candidate for president of that pair shall put forward another prospective candidate for vice president, and then apply for registration as candidates for president and vice president by way of joint-signature petition.
中文原文 總統副總統選舉罷免法(新840809制定)第23-1條
總統被連署人於連署期間內死亡,中央選舉委員會應公告該組總統、副總統被連署人停止連署;副總統被連署人於連署期間內死亡,其連署書件仍為有效,該組總統被連署人應於事實發生三日內,向中央選舉委員會申請更換副總統被連署人,繼續徵求連署。
總統被連署人於完成連署後,申請登記為候選人前死亡,該組總統、副總統被連署人,不得申請登記為總統、副總統候選人;副總統被連署人於完成連署後,申請登記為候選人前死亡,該組總統被連署人,應另提出副總統候選人,申請聯名登記為總統、副總統候選人。

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