提交 c1f58e38 编写于 作者: Q qiang

fix: 读取代理 ext api 对象非 string 类型属性

上级 d012738e
...@@ -154,7 +154,7 @@ function initUTSStaticMethod(async, opts) { ...@@ -154,7 +154,7 @@ function initUTSStaticMethod(async, opts) {
} }
const initUTSProxyFunction = initUTSStaticMethod; const initUTSProxyFunction = initUTSStaticMethod;
function parseClassMethodName(name, methods) { function parseClassMethodName(name, methods) {
if (hasOwn(methods, name + 'ByJs')) { if (typeof name === 'string' && hasOwn(methods, name + 'ByJs')) {
return name + 'ByJs'; return name + 'ByJs';
} }
return name; return name;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册