fix:topology 相关bug修改

This commit is contained in:
zhangyu
2022-09-05 17:45:49 +08:00
parent c86b36583e
commit f85edd121d
7 changed files with 33 additions and 12 deletions

View File

@@ -117,7 +117,7 @@ export default {
pen: null,
pens: null
}
if (!pens.length) return
if (!pens.length || !this.editTopologyFlag) return
this.$nextTick(() => {
if (pens.length == 1) {
this.modulesDiff && this.modulesDiff(pens[0])