Commit 733f421ce4c81ba389ad3985efbddfb3f66a4ac2

Authored by zhiyangdu
1 parent 5b437362

去更新弹框内容优化

src/pages/goodDetails/goodDetails.vue
... ... @@ -369,8 +369,10 @@ export default {
369 369 options = {
370 370 message: "当前版本过旧,请升级最新版本",
371 371 messageAlign: "center",
372   - confirmButtonText: "我知道了",
373   - confirmButtonCallback:this.appUpdate
  372 + confirmButtonText: "去更新",
  373 + confirmButtonCallback:this.appUpdate,
  374 + showCancelButton: true,
  375 + cancelButtonText: "取消"
374 376 };
375 377 // 调用showModal层参数
376 378 this.$set(this.$parent, "showOptions", options);
... ... @@ -394,8 +396,10 @@ export default {
394 396 options = {
395 397 message: "当前版本过旧,请升级最新版本",
396 398 messageAlign: "center",
397   - confirmButtonText: "我知道了",
398   - confirmButtonCallback:this.appUpdate
  399 + confirmButtonText: "去更新",
  400 + confirmButtonCallback:this.appUpdate,
  401 + showCancelButton: true,
  402 + cancelButtonText: "取消"
399 403 };
400 404 // 调用showModal层参数
401 405 this.$set(this.$parent, "showOptions", options);
... ...