flat: 扫码登录

This commit is contained in:
Apcallover
2025-12-24 18:39:44 +08:00
parent 640231a223
commit d5890936c3
3 changed files with 239 additions and 18 deletions

View File

@@ -1,7 +1,6 @@
<script setup>
import { reactive, inject, onMounted } from 'vue';
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app';
import { IncreaseRevie } from '@/common/all-in-one-listen.js';
import useUserStore from './stores/useUserStore';
import usePageAnimation from './hook/usePageAnimation';
import useDictStore from './stores/useDictStore';
@@ -22,7 +21,6 @@ import baseDB from '@/utils/db.js';
import { $confirm } from '@/utils/modal.js';
import useLocationStore from '@/stores/useLocationStore';
const appword = 'aKd20dbGdFvmuwrt'; // 固定值
let uQRListen = null;
let inactivityManager = null;
let inactivityModalTimer = null;
@@ -57,7 +55,6 @@ onLaunch((options) => {
}, 3000);
});
})();
uQRListen = new IncreaseRevie();
inactivityManager = new GlobalInactivityManager(handleInactivity, 60 * 1000);
inactivityManager.start();
return;