jufubao-base 1.0.242-beta10 → 1.0.242-beta11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.242-beta10",
3
+ "version": "1.0.242-beta11",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -141,9 +141,11 @@ export default {
141
141
  this.contentList[0].image_url,
142
142
  "size8"
143
143
  );
144
- this.currentLinkUrl = this.getLinkUrl(
145
- this.contentList[0].redirect_data
146
- );
144
+ if(this.contentList[0].redirect_data){
145
+ this.currentLinkUrl = this.getLinkUrl(
146
+ this.contentList[0].redirect_data
147
+ );
148
+ }
147
149
  this.currentIndex = 0;
148
150
  if(this.systemType === 'fuli'){
149
151
  this.handlePop();
@@ -211,9 +213,11 @@ export default {
211
213
  return;
212
214
  }
213
215
  this.currentIndex = this.currentIndex + 1;
214
- this.currentLinkUrl = this.getLinkUrl(
215
- this.contentList[this.currentIndex].redirect_data
216
- );
216
+ if(this.contentList[this.currentIndex].redirect_data) {
217
+ this.currentLinkUrl = this.getLinkUrl(
218
+ this.contentList[this.currentIndex].redirect_data
219
+ );
220
+ }
217
221
  this.currentImage = getServiceUrl(
218
222
  this.contentList[this.currentIndex].image_url,
219
223
  "size8"