function roomIds(roomid) { // var str = roomid.replace(/;/g,'\r\n'); if (roomid) { var str = roomid.replace(/;/g, '<br/>'); return str; } else { return '暂无'; } }
function roomIds(roomid) { // var str = roomid.replace(/;/g,'\r\n'); if (roomid) { var str = roomid.replace(/;/g, '<br/>'); return str; } else { return '暂无'; } }
转载于:https://www.cnblogs.com/Byme/p/8405244.html