소스 검색

名称重复问题

haojianlong 4 년 전
부모
커밋
e9d734e613
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/components/homeView/createPlanarDialog.vue
  2. 1 0
      src/components/homeView/rename.vue

+ 1 - 1
src/components/homeView/createPlanarDialog.vue

@@ -235,7 +235,7 @@ export default {
                     },
                 });
             } else {
-                this.$message.error(res.message);
+                this.$message.info(res.message);
             }
         },
         // 关闭创建弹窗回调(重置创建信息)

+ 1 - 0
src/components/homeView/rename.vue

@@ -46,6 +46,7 @@ export default {
                         id: this.data.id,
                         graphId: this.data.graphId,
                         name: newName,
+                        floorId: this.data.floorId
                     },
                 ],
                 projection: ["name"],