浏览代码

feat: 子集

gemercheung 1 年之前
父节点
当前提交
93dacbca7b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/map/index.vue

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

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