|
@@ -153,6 +153,9 @@ export default {
|
|
|
if (this.timer) {
|
|
if (this.timer) {
|
|
|
clearInterval(this.timer)
|
|
clearInterval(this.timer)
|
|
|
}
|
|
}
|
|
|
|
|
+ if (this.timer2) {
|
|
|
|
|
+ clearInterval(this.timer2)
|
|
|
|
|
+ }
|
|
|
},
|
|
},
|
|
|
// 下拉刷新
|
|
// 下拉刷新
|
|
|
onPullDownRefresh() {
|
|
onPullDownRefresh() {
|
|
@@ -433,6 +436,10 @@ export default {
|
|
|
// 点击打卡按钮回调
|
|
// 点击打卡按钮回调
|
|
|
handlePunch(info) {
|
|
handlePunch(info) {
|
|
|
if (this.flags) {
|
|
if (this.flags) {
|
|
|
|
|
+ if (this.timer2) {
|
|
|
|
|
+ clearInterval(this.timer2)
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
let obj = JSON.stringify(info)
|
|
let obj = JSON.stringify(info)
|
|
|
|
|
|
|
|
if (this.takePicture) {
|
|
if (this.takePicture) {
|