gemercheung 1 rok temu
rodzic
commit
93dacbca7b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/views/map/index.vue

+ 1 - 1
src/views/map/index.vue

@@ -303,11 +303,11 @@
         createMessage.open({
           type: 'warning',
           content: '当前项目暂没场景',
-          duration: 2000,
           style: {
             marginTop: '10vh',
           },
         });
+        setTimeout(createMessage.destroy, 2000);
         // createMessage.warning('当前项目暂没场景');
       }