update nodeMetadata.js
This commit is contained in:
parent
137dd02e91
commit
77d7906664
@ -21,7 +21,7 @@ function resolveComponent(componentType) {
|
||||
async function discoverNodeMetadata() {
|
||||
try {
|
||||
// 使用 Jingrow RPC 调用后端 whitelist 函数
|
||||
const res = await api.call('jingrow.ai.pagetype.ai_node.ai_node.get_all_node_metadata')
|
||||
const res = await api.call('jingrow.ai.utils.jlocal.get_all_node_metadata')
|
||||
|
||||
// Jingrow whitelist 函数返回值被包装在 message 字段中
|
||||
const result = res?.message || res
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user