|
@@ -197,14 +197,20 @@ const getLogout = async () => {
|
|
|
*/
|
|
|
const getTips = () => {
|
|
|
getClearTimer('nextItem');
|
|
|
- let myTime = 10000;
|
|
|
+ let myTime = 7000;
|
|
|
let num = 0;
|
|
|
timerManager.value.nextItem = setInterval(() => {
|
|
|
if (router.currentRoute.value.path == '/gesture') {
|
|
|
if (num % 2 == 0) {
|
|
|
- proxy?.$modal.msgWarning(`手向左滑切换项目`)
|
|
|
+ proxy?.$modal.msgWarning({
|
|
|
+ message: `手向左滑切换项目`,
|
|
|
+ duration: 5000
|
|
|
+ })
|
|
|
} else {
|
|
|
- proxy?.$modal.msgWarning(`举左手进入测试`)
|
|
|
+ proxy?.$modal.msgWarning({
|
|
|
+ message: `举左手进入测试`,
|
|
|
+ duration: 5000
|
|
|
+ })
|
|
|
}
|
|
|
num++
|
|
|
} else {
|