New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SchemaApi 使用js请求的js文件怎么写呀,官方文档报错了 #9997
Comments
我是伪造了一个请求,然后用adaptor改掉返回值。如下,希望对你有帮助: export function loadSchema(page) |
没看懂你这写的是啥,按照你这个写返回还是报错 |
不需要包一层函数,那个 js 里就直接写 return {
type: 'button',
label: '按钮修改',
onClick: (e, props) => {
alert('消息通知');
}
} |
SchemaApi 使用js请求的js文件怎么写呀,官方文档报错了。我试着这么写,但是浏览器不渲染呀。
纯后端,前段一点不会,麻烦了
The text was updated successfully, but these errors were encountered: