Commit ce8f7a2b78e30cb912e94c92823e9c6f702308be
1 parent
51663a85
版本测试
Showing
1 changed file
with
9 additions
and
5 deletions
src/pages/goodDetails/goodDetails.vue
| @@ -372,6 +372,10 @@ export default { | @@ -372,6 +372,10 @@ export default { | ||
| 372 | confirmButtonText: "我知道了", | 372 | confirmButtonText: "我知道了", |
| 373 | confirmButtonCallback:this.appUpdate | 373 | confirmButtonCallback:this.appUpdate |
| 374 | }; | 374 | }; |
| 375 | + // 调用showModal层参数 | ||
| 376 | + this.$set(this.$parent, "showOptions", options); | ||
| 377 | + // 显示通用浮层 | ||
| 378 | + this.$parent.$refs.showModal.showLayer(); | ||
| 375 | } | 379 | } |
| 376 | } else if (this.isiPhone.value) { | 380 | } else if (this.isiPhone.value) { |
| 377 | if (this.version != "") { | 381 | if (this.version != "") { |
| @@ -393,12 +397,12 @@ export default { | @@ -393,12 +397,12 @@ export default { | ||
| 393 | confirmButtonText: "我知道了", | 397 | confirmButtonText: "我知道了", |
| 394 | confirmButtonCallback:this.appUpdate | 398 | confirmButtonCallback:this.appUpdate |
| 395 | }; | 399 | }; |
| 400 | + // 调用showModal层参数 | ||
| 401 | + this.$set(this.$parent, "showOptions", options); | ||
| 402 | + // 显示通用浮层 | ||
| 403 | + this.$parent.$refs.showModal.showLayer(); | ||
| 396 | } | 404 | } |
| 397 | - } | ||
| 398 | - // 调用showModal层参数 | ||
| 399 | - this.$set(this.$parent, "showOptions", options); | ||
| 400 | - // 显示通用浮层 | ||
| 401 | - this.$parent.$refs.showModal.showLayer(); | 405 | + } |
| 402 | } | 406 | } |
| 403 | }, | 407 | }, |
| 404 | // App升级跳转 | 408 | // App升级跳转 |