Commit c8a31f00 by ArronYR

fix wxParse use in android

parent 05984c50
......@@ -42,7 +42,7 @@ Page({
*/
onPullDownRefresh: function() {
this.setData({
tasks: [],
guides: [],
loading: true,
hasMore: true,
......
......@@ -109,14 +109,14 @@ function html2json(html, bindName) {
var name = attr.name;
var value = attr.value;
if (name == 'class') {
console.dir(value);
// console.dir(value);
// value = value.join("")
node.classStr = value;
}
// has multi attibutes
// make it array of attribute
if (name == 'style') {
console.dir(value);
// console.dir(value);
// value = value.join("")
node.styleStr = value;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment