天天看點

typescript ts聯合類型union

typescript ts聯合類型union

是字元串的資料才進行轉換

typescript ts聯合類型union

字元串或字元串數組

取前三個元素