BUG LIST
this.setData is not a function
reason:在網絡回調之后直接對data賦值產生的錯誤,原因是回調中的this不是page,而是發起網絡請求的這個對象了 ,所以報錯。
result:在用到網絡請求的方法中var that = this; 然后在回調中對that進行賦值。
reason:在網絡回調之后直接對data賦值產生的錯誤,原因是回調中的this不是page,而是發起網絡請求的這個對象了 ,所以報錯。
result:在用到網絡請求的方法中var that = this; 然后在回調中對that進行賦值。