@@ -95,6 +95,7 @@ export default {
if (this.timeId) {
clearTimeout(this.timeId)
}
+ this.$emit('offTiming')
this.type = this.state
},
@@ -39,7 +39,15 @@
</view>
</template>
</zj-page-layout>
- <zhifutanchuan v-if="state > 0" :detail="detail" :orderId="orderId" :state="state" @scan="scan" @back="back" />
+ <zhifutanchuan
+ v-if="state > 0"
+ :detail="detail"
+ :orderId="orderId"
+ :state="state"
+ @scan="scan"
+ @back="back"
+ @offTiming="offTiming"
+ />
@@ -81,6 +89,11 @@ export default {
methods: {
+ offTiming() {
+ if (this.timeout) {
+ clearTimeout(this.timeout)
+ }
+ },
scan() {
if (this.timeout) {
clearTimeout(this.timeout)
@@ -82,6 +90,11 @@ export default {