From 0ab29476ab699af58189f21985ce0c1738b630d9 Mon Sep 17 00:00:00 2001
From: Sakana <15715093608@163.com>
Date: Wed, 21 Oct 2026 22:10:36 +0800
Subject: [PATCH] fix(inspect): show function argument parsing errors
---
.../inspect/app/components/FunctionRow.vue | 25 ++++++-
.../app/components/FunctionsView.stories.ts | 70 +++++++++++++++++++
.../inspect/app/components/FunctionsView.vue | 13 +++-
3 files changed, 104 insertions(+), 4 deletions(-)
diff --git a/plugins/inspect/app/components/FunctionRow.vue b/plugins/inspect/app/components/FunctionRow.vue
index e684efe66..684e7b3f3 100644
--- a/plugins/inspect/app/components/FunctionRow.vue
+++ b/plugins/inspect/app/components/FunctionRow.vue
@@ -1,7 +1,8 @@
@@ -70,11 +78,12 @@ function invoke(fn: RpcFunctionInfo): void {
:key="fn.name"
:fn="fn"
:args-input="argsInput"
+ :invoke-error="invokeErrors[fn.name]"
:results="results"
:pending="pending"
:is-static="isStatic"
@invoke="invoke"
- @update-args="(n, v) => argsInput[n] = v"
+ @update-args="updateArgs"
/>