|
@@ -6,7 +6,6 @@
|
|
|
</template>
|
|
|
<script>
|
|
|
import { PTopoScene, PTopoParser } from "@/components/editClass/persagy-edit";
|
|
|
-// import { BaseLineEdit } from "@/components/editClass/big-edit";
|
|
|
import { SGraphView } from "@persagy-web/graph";
|
|
|
import topoTooltip from "./topoTooltip.vue";
|
|
|
import { mapState, mapMutations } from "vuex";
|
|
@@ -80,7 +79,6 @@ export default {
|
|
|
initBusEvent() {
|
|
|
// 改变样式
|
|
|
bus.$on("updateStyle", (type, val) => {
|
|
|
- console.log("aaaaaaaaa", type, val);
|
|
|
this.scene.updateStyle(type, val);
|
|
|
});
|
|
|
// 撤销
|
|
@@ -126,6 +124,11 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
};
|
|
|
+ Object.assign(obj, {
|
|
|
+ GraphId: "6500f7d6db5a40d4be4313ea654b1373",
|
|
|
+ Id: "d6c1926ee74b438d87c6b06fec9806c6",
|
|
|
+ });
|
|
|
+ console.log(obj);
|
|
|
saveGroup(obj).then((res) => {
|
|
|
console.log("res", res);
|
|
|
});
|