标签:== span color class col pre 对象 const ons
var constantize = (obj) => { Object.freeze(obj); Object.keys(obj).forEach( (key, i) => { if ( typeof obj[key] === ‘object‘ ) { constantize( obj[key] ); } }); };
标签:== span color class col pre 对象 const ons
原文地址:https://www.cnblogs.com/hrlin/p/9396341.html