//岗位详细界面 var str="1、u000Du21B52、u000Du21B53"; var pad = function() { var tbl = []; return function(num, n) { var len = n-num.toString().length; if (len <= 0) return num; if (!tbl[len]) tbl[len] = (new Array(len+1)).join('0'); return tbl[len] + num; } }(); setValue_Instructions(str); console.log(str) console.log("---------------------") console.log(getValue_Instructions()); "u21B5".charCodeAt(0).toString(16) -------------------------------------------------------------- "u21B5".charCodeAt(0).toString(16) String.fromCharCode(72,69,76,76,79)