Browse Source

名称重复问题

haojianlong 3 years ago
parent
commit
e9d734e613

+ 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"],