"sitemapLocation": "sitemap.json"
发布于 5 年前 作者 linxiuying 7130 次浏览 来自 问答

app.json里的代码

“window”: {

“backgroundTextStyle”: “dark”,

“navigationBarBackgroundColor”: “#fff”,

“navigationBarTitleText”: “小程序”,

“navigationBarTextStyle”: “black”,

“enablepulldownrefresh”:true

},

“sitemapLocation”: “sitemap.json”

}

这样下拉刷新用不了,下拉没反应

最后句"sitemapLocation": “sitemap.json”

什么意思啊?

"enablepulldownrefresh":true

"enablePulldDownrRefresh":true

我把这个改成大写就可以了,为什么?

怎么我写代码没有自动补全功能啊?

3 回复

“enablepulldownrefresh”:true

“enablePulldDownrRefresh”:true

我把这个改成大写就可以了,为什么?

怎么我写代码没有自动补全功能啊?

page.js也需要添加事件才可以

回到顶部