From e30eb3cdbdbd600db6f683abf0153ac1d8ce0001 Mon Sep 17 00:00:00 2001 From: hurui Date: Thu, 1 Aug 2019 10:32:36 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=A6=96=E9=A1=B5][=E4=BF=AE=E6=94=B9][?= =?UTF-8?q?=E9=99=90=E6=97=B6=EF=BC=8C=E5=AD=97=E6=AE=B5]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/main/index.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/pages/main/index.js b/pages/main/index.js index bc608cf..32dc67e 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -68,10 +68,7 @@ Page({ credit: 0, score: '0', page: 1 ,// 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载 - // Ttitle:'', - // xstitle:null, - // priceStr:null, - // salePriceStr:null, + }, close: function() { this.setData({ @@ -510,10 +507,11 @@ Page({ } }).then(res => { if (res && res.data) { + console.log(res.data.title) that.setData({ name: res.data.name, cover: res.data.cover, - Ttitle: res.data.title, + title: res.data.title, id: res.data.id, showTopic: true })