Commit 0adfd35af785056a3ab4b9e6f4c26a6875212c0d
1 parent
3ef54ede
购好物,首页白屏,问题处理~
Showing
2 changed files
with
2 additions
and
2 deletions
src/main.js
| ... | ... | @@ -68,7 +68,7 @@ import "url-search-params-polyfill"; |
| 68 | 68 | Vue.config.productionTip = false; |
| 69 | 69 | |
| 70 | 70 | // 部署模式设置(开发模式:"dev",测试模式:"test",生产模式:"prod") |
| 71 | -Vue.prototype.mode = "dev"; | |
| 71 | +Vue.prototype.mode = "prod"; | |
| 72 | 72 | |
| 73 | 73 | // 微信JS-SDK对象 |
| 74 | 74 | Vue.prototype.jweixin = { | ... | ... |
src/pages/optimization2/optimization2.vue
| ... | ... | @@ -897,7 +897,7 @@ |
| 897 | 897 | if (this.tvGoodsLists.length >= 2) { |
| 898 | 898 | this.$set(this.tvGoodsData, 'now', [this.tvGoodsLists[0], this.tvGoodsLists[1]]); |
| 899 | 899 | } else { |
| 900 | - this.$set(this.tvGoodsData, 'now', [this.tvGoodsLists[0]]); | |
| 900 | + this.$set(this.tvGoodsData, 'now', [this.tvGoodsLists[0], this.tvGoodsLists[0]]); | |
| 901 | 901 | } |
| 902 | 902 | |
| 903 | 903 | // 设置电视购物下一条数据数组下标 | ... | ... |