我也出现同样问题,暂时这样处理的:
在config/index.js中增加配置
copy: {
patterns: [
{ from: "src/images/", to: "dist/images/" }
],
options: {}
},
我也出现同样问题,暂时这样处理的:
在config/index.js中增加配置
copy: {
patterns: [
{ from: "src/images/", to: "dist/images/" }
],
options: {}
},
在每个一级页面中的componentDidShow方法,执行以下代码已经无效了this.$scope undefined
if (typeof this.$scope.getTabBar === 'function' && this.$scope.getTabBar()) {
this.$scope.getTabBar().setData({
selected: 1
})
}