Mike 3 年之前
父节点
当前提交
a5c4c61109
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      ArkCard-web/goto.js

+ 2 - 1
ArkCard-web/goto.js

@@ -189,13 +189,14 @@ $(document).on("click", ".close", function (event) {
 });
 
 $.fn.serializeObject = function () {
-  alert('serializeObject()'); // test
   var o = {};
   var a = this.serializeArray();
   // o["id"] = 0;
   // o["time_stamp"] = "";
   $.each(a, function () {
     if (o[this.name]) {
+      console.log(o[this.name], o[this.value]); // test
+
       if (!o[this.name].push) {
         o[this.name] = [o[this.name]];
       }