1.判斷是否爲對象 console.log(Object.prototype.toString.call(data) === '[object Object]');
console.log(Object.prototype.toString.call(data) === '[object Object]');
京公网安备 11010502049817号