摘要:
function json(){ return { name :"whl", age :30 } } console.log(json()) //结果{name: "whl", age: 30} 阅读全文
摘要:
//小于10前面加0 function add(m){ return m<10 ? "0"+m : m; } function getTime(timestamp) { var time = new Date(timestamp); var year = time.getFullYear(); va 阅读全文
摘要:
function tablenumber() { $.ajax({ type : "get", url : "../res/error.json", dataType : "json", success : function(data){ console.log(data); vm.SuccessN 阅读全文