-1
「摧毀」爲什麼進入他如果在檢查,如果它不是不確定的的JavaScript遺漏的類型錯誤:無法讀取屬性未定義
if (this.table !== undefined || this.table !== null) {
this.table.destroy();
}
控制檯錯誤: 遺漏的類型錯誤:無法讀取屬性「摧毀」未定義
我用盡
if(this.table)
,但沒有運氣或者
因爲'未定義!== null'是真的 – Andreas
嘗試使用''&&。 –
嘗試使用&&但沒有運氣 – AnthonyB2017