safecheck-client 4.0.0-13 → 4.0.0-15

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.
@@ -572,7 +572,7 @@
572
572
  }).then((res) => {
573
573
  if (res.data.code == 200) {
574
574
  this.loading = false;
575
- this.$back()
575
+ this.$emit('showback')
576
576
  }
577
577
  })
578
578
  },
@@ -599,7 +599,7 @@
599
599
  this.loading = false;
600
600
  this.message = '';
601
601
  this.showModel = false;
602
- this.$back()
602
+ this.$emit('showback')
603
603
  }
604
604
  })
605
605
  },
@@ -938,16 +938,16 @@
938
938
  back() {
939
939
  if (this.role == 'inspect') {
940
940
  if (!this.isStrat) {
941
- this.$back()
941
+ this.$emit('showback')
942
942
  return
943
943
  } else {
944
944
  this.savePaper(true).then(() => {
945
- this.$back()
945
+ this.$emit('showback')
946
946
  this.isStrat = false
947
947
  })
948
948
  }
949
949
  } else {
950
- this.$back()
950
+ this.$emit('showback')
951
951
  }
952
952
  },
953
953
  checkIsStart() {