style: 移除无用console输出
This commit is contained in:
@@ -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是#不监听变化
|
||||
|
||||
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user