style: 移除无用console输出

This commit is contained in:
TsMask
2024-06-19 14:51:28 +08:00
parent 374a9bde7e
commit 0955a79965
9 changed files with 21 additions and 27 deletions

View File

@@ -139,8 +139,7 @@ function fnGetList(refresh: boolean = false) {
}
})
.then(hasNeList => {
if (!hasNeList) return;
console.log(graphG6Data)
if (!hasNeList) return;
if (refresh) {
// graphG6.value.get('canvas').set('localRefresh', true);
graphG6.value.destroy();

View File

@@ -173,9 +173,7 @@ export default function useEdge() {
edge.type = 'loop';
}
// 不存在fontWeight会触发异常
if(!edge.labelCfg.style.fontWeight){
console.log(edge)
debugger
if(!edge.labelCfg.style.fontWeight){
edge.labelCfg.style.fontWeight = 500
}
// 存在更新新增id是#不监听变化

View File

@@ -94,7 +94,7 @@ export default function useGraph() {
</div>`;
},
handleMenuClick(target, item) {
console.log(target, item);
// console.log(target, item);
const targetId = target.id;
switch (targetId) {
case 'create-edge':
@@ -223,7 +223,7 @@ export default function useGraph() {
`;
},
handleMenuClick(target, item) {
console.log(target, item);
// console.log(target, item);
const targetId = target.id;
switch (targetId) {
case 'edit':
@@ -302,7 +302,7 @@ export default function useGraph() {
`;
},
handleMenuClick(target, item) {
console.log(target, item);
// console.log(target, item);
const targetId = target.id;
switch (targetId) {
case 'edit':