Debug infos updates
This commit is contained in:
@@ -36,7 +36,6 @@ const srcs = ref([]);
|
||||
const idClass = `workflowid-${props.id}`;
|
||||
|
||||
function addsrc(event) {
|
||||
console.log('aaaaa',event);
|
||||
if (event.detail.src) {
|
||||
srcs.value.push(event.detail.src);
|
||||
} else if (event.detail.done) {
|
||||
@@ -79,7 +78,6 @@ async function mountGlide() {
|
||||
if(glide) {
|
||||
glide.destroy();
|
||||
}
|
||||
console.log('srcsss',srcs.value);
|
||||
resizeImgs();
|
||||
await nextTick(); // wait for everything to resize
|
||||
|
||||
|
||||
@@ -22,15 +22,20 @@ export function linkTarget(node, id, inputName, workflowData, opts) {
|
||||
val = join(pathM[2], val);
|
||||
}
|
||||
}
|
||||
|
||||
// const workflowNode = workflowData.workflow.nodes.find(n => n.id == id);
|
||||
let found = 0;
|
||||
for (const nodeId in workflow_api) {
|
||||
const destNode = workflow_api[nodeId];
|
||||
for (const inputName in destNode.inputs) {
|
||||
const link = destNode.inputs[inputName];
|
||||
if (link[0] === id) {
|
||||
destNode.inputs[inputName] = val;
|
||||
++found;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (found === 0) {
|
||||
console.error(`linkTarget node id not found: ${id} workflow_api:`, workflow_api);
|
||||
}
|
||||
// delete workflow_api[id];
|
||||
}
|
||||
|
||||
@@ -211,7 +211,7 @@ export default class {
|
||||
presentationURL.pushState(currentHash);
|
||||
|
||||
if (isDevMode) {
|
||||
console.log('bodyObj', bodyObj);
|
||||
console.log('AddToQueue: send bodyObj', bodyObj);
|
||||
}
|
||||
const resp = await fetch(
|
||||
'/api/addQueue',
|
||||
|
||||
@@ -9,7 +9,6 @@ export default class {
|
||||
}
|
||||
|
||||
addSrc(outputElem, url) {
|
||||
console.log('ou',outputElem, url);
|
||||
outputElem.dispatchEvent(
|
||||
new CustomEvent('addsrc', {
|
||||
detail: { src: url },
|
||||
|
||||
Reference in New Issue
Block a user