Browse Source

日常开发

林旭祥 6 months ago
parent
commit
671ca84234
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/views/gesture/index.vue

+ 2 - 1
src/views/gesture/index.vue

@@ -60,6 +60,7 @@ const getClearTimer = (data?: any) => {
       }
     }
   }
+  ElMessage.closeAll()
 };
 
 /**
@@ -202,7 +203,7 @@ const getTips = () => {
   timerManager.value.nextItem = setInterval(() => {
     if (router.currentRoute.value.path == '/gesture') {
       if (num % 2 == 0) {
-        proxy?.$modal.msgWarning({
+         proxy?.$modal.msgWarning({
           message: `手向左滑切换项目`,
           duration: 5000
         })