|
@@ -117,7 +117,7 @@ Page({
|
|
|
* 生命周期函数--监听页面加载
|
|
|
*/
|
|
|
onLoad: function (options) {
|
|
|
-
|
|
|
+ this.requestGoods();
|
|
|
},
|
|
|
|
|
|
requestGoods() {
|
|
@@ -265,7 +265,6 @@ Page({
|
|
|
* 生命周期函数--监听页面显示
|
|
|
*/
|
|
|
onShow: function () {
|
|
|
- this.requestGoods();
|
|
|
let msgs = app.genMsgs();
|
|
|
this.setData({ msgList: msgs });
|
|
|
const record = app.globalData.record || {}
|