andypliang 6 lat temu
rodzic
commit
2eb0f6e3ec
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      miniapp/app/wxParse/html2json.js

+ 2
- 2
miniapp/app/wxParse/html2json.js Wyświetl plik

109
                     var name = attr.name;
109
                     var name = attr.name;
110
                     var value = attr.value;
110
                     var value = attr.value;
111
                     if (name == 'class') {
111
                     if (name == 'class') {
112
-                        console.dir(value);
112
+                        // console.dir(value);
113
                         //  value = value.join("")
113
                         //  value = value.join("")
114
                         node.classStr = value;
114
                         node.classStr = value;
115
                     }
115
                     }
116
                     // has multi attibutes
116
                     // has multi attibutes
117
                     // make it array of attribute
117
                     // make it array of attribute
118
                     if (name == 'style') {
118
                     if (name == 'style') {
119
-                        console.dir(value);
119
+                        // console.dir(value);
120
                         //  value = value.join("")
120
                         //  value = value.join("")
121
                         node.styleStr = value;
121
                         node.styleStr = value;
122
                     }
122
                     }

Loading…
Anuluj
Zapisz