lhtuling

Results 76 comments of lhtuling

如果是上传成功显示的话 文档写的很清楚 https://aisuda.bce.baidu.com/amis/zh-CN/components/form/input-image 这个接口需要返回图片地址,比如下面的格式 `````` { "status": 0, "msg": "", "data": { "value": "https:/xxx.yy/zz.png" } } `````` 如果是选择图片上传之前直接显示预览的话 可能要自己写js代码了 比较麻烦点了 Amis低代码前端框架QQ交流群 【1群】717791727 【2群】721182449

`````` { "type": "page", "data": { "key": "2" }, "body": [ { "type": "tabs", "activeKey": "${key}", "tabs": [ { "title": "Tab 1", "hash": "1", "tab": "Content 1" }, { "title":...

> 我就是不想在设置hash的情况下设置索引值,设置hash会导致切换tab时白屏 那就不晓得了 那应该是bug吧 反馈下看看能修复不

{ "type": "page", "title": "Hello world", "body": [ { "type": "form", "title": "表单", "data": { "oACommuting": [ { "desc": "", "InvoiceType": "电子发票", "Amount": "1.523" }, { "Amount": "2.588" }, {...

Amis低代码前端框架QQ交流群 【1群】717791727 【2群】721182449

> 但是做校验的时候 ,不行,比如有统计一列数据,然后小于某个文本框的值 那不是太简单了么 统计都出来了 搞个组件显示错误内容 比如 合计大于20 提交按钮搞成>20时候隐藏 或者禁止点击不就完了~~ 还有其他方式 都可以实现~~~

牵扯后端接口api处理的 建议仔细阅读下 api的文档 https://aisuda.bce.baidu.com/amis/zh-CN/docs/types/api 针对接口返回内容做对应处理的话 建议用js的配置文件 + 在配置接收器里面做处理 https://aisuda.bce.baidu.com/amis/zh-CN/docs/types/api#%E9%85%8D%E7%BD%AE%E6%8E%A5%E6%94%B6%E9%80%82%E9%85%8D%E5%99%A8 Amis低代码前端框架QQ交流群 【1群】717791727 【2群】721182449

![image](https://user-images.githubusercontent.com/44140500/190904749-4061b1f4-a1d7-4aac-877b-0d3765086d3d.png) "name": "price", 没感觉错的话应该是字段名一样导致的!! 细心检查下看看 Amis低代码前端框架交流群 【1群】717791727 【2群】721182449

https://aisuda.bce.baidu.com/amis/examples/event/table 找到了个修改行选中的,,,,,

但是只能针对table用 crud不能用 > https://aisuda.bce.baidu.com/amis/examples/event/table 找到了个修改行选中的,,,,,