小小儁爺
2024-09-09 19a02db65a717d22138a623a425040dfba292eb8
src/views/attendanceModule/attendanceClockIn.vue
@@ -121,7 +121,11 @@
      isDisabled: true
    }
  },
  activated() {   window.addEventListener('resize', this.getHeight)   this.getHeight() }, created() {
  activated() {
    window.addEventListener('resize', this.getHeight)
    this.getHeight()
  },
  created() {
  },
  mounted() {
    window.addEventListener('resize', this.getHeight)
@@ -156,6 +160,7 @@
      const res = await AttendanceSave(data)
      if (res.code === '200') {
        await this.enterNative(this.form2.usercode)
        this.$message.success('打卡成功!')
      }
    },
    // 获取页面高度