haojianlong před 3 roky
rodič
revize
851a8e29b1

+ 3 - 2
src/components/editview/baseTopoEditer.vue

@@ -394,7 +394,8 @@ export default {
         (vals) => {
           // 重设版本号
           this.SETVERSION(vals[1].version);
-          this.$message.success(`保存成功${vals[1].version}`);
+          this.$message.success(`保存成功`);
+          // ${vals[1].version}
         }
       );
     },
@@ -508,7 +509,7 @@ export default {
             isPub: 1,
           },
         });
-        this.$message.success("发布成功");
+        this.$message.success(`发布成功${res.entityList[0].version}`);
       });
     },
     // 手动添加设备

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

@@ -142,7 +142,7 @@ export default {
         case "publish":
           publishGraph(pa).then((res) => {
             if (res.result == "success") {
-              this.$message.success("发布成功");
+              this.$message.success(`发布成功${res.entityList[0].version}`);
               this.$emit("publishSuc");
             } else {
               this.$message.success("发布失败");