diff --git a/components/word-cloud/index.js b/components/word-cloud/index.js index cdebeb3..85316b1 100644 --- a/components/word-cloud/index.js +++ b/components/word-cloud/index.js @@ -1,5 +1,5 @@ // components/word-cloud/index.js -import WordCloud from './wordCloud' +import WordCloud from './wordcloud' const options = { "list": [], "gridSize": 2, // size of the grid in pixels diff --git a/pages/index/Brandsales/Brandsales.js b/pages/index/Brandsales/Brandsales.js index d776497..70ce079 100644 --- a/pages/index/Brandsales/Brandsales.js +++ b/pages/index/Brandsales/Brandsales.js @@ -126,7 +126,7 @@ showPopup() { */ onLoad: function (options) { // console.log("这是时间",this.res.ranking) - // console.log("123",this.options.carName) + console.log("123",this.options.carName) this.getData(this.options.carName) }, @@ -135,9 +135,9 @@ showPopup() { */ onReady: function () { //动态设置标题 - // wx.setNavigationBarTitle({ - // title:this.data.query.title - // }) + wx.setNavigationBarTitle({ + title:this.options.carName+"汽车销量" + }) },