Comments (1)
列表页里可以在跳转链接后面加参数例如:
{
type: 'action',
actionType: 'link',
link: '/detail?id=${jobId}'
}
然后在这个详情页里接口请求时直接通过${id}
去获取链接里面的参数id
initApi:'/api/getdetail?id=${id}'
from amis.
Related Issues (20)
- 使用 JS SDK时,index.html中必须要引用 amis/lib/themes/cxd.css,否则 CRUD/CURD2 的【删除】【批量删除】确认对话框无法显示 HOT 2
- dialog中使用crud2做查询的都无法支持条件里面回车自动刷新查询 HOT 1
- crud设置autoFillHeight属性后,在翻页或reload后,如何让滚动条复位
- 表格2.0行选择
- 穿梭器开启虚拟高度后,选项高度默认只有32,无法完整显示选项
- disabledOn 表达式如果包含有 横杠 - 时会无效 HOT 4
- 使用SDK模式,如何将token全局注入到请求header中
- 表格实现默认选择行
- InputTable组件下使用select控件的可编辑功能editable的时候options选项值的内容无法传入修改输入框中
- 希望增加一个IM组件
- 表格expand获取当前行信息渲染
- InputTable组件下只要有一个表单项有默认值,所有表单项的校验全部失效
- select使用source数据源,自定义过滤出问题
- 为什么crud不能支持多选项的回显 HOT 1
- bpmnjs 如何在amis中组合使用
- InputFile的finishChunkApi数据体增加chunkSize参数或者partList元素添加partsize
- 【6.1.0问题】crud条件查询表单重置失效 HOT 2
- 【6.1.0】编辑器中添加CRUD组件时,列集合中的字段列表丢失!
- 【6.1.0编辑器】下拉框组件选择数据源为[上下文变量]时,生成的 schema 多出了 \\,要将这两个 \\ 在代码窗口中手动删除后,tpl 才能正常执行
- 【6.1.0编辑器】弹窗大纲窗口中树节点文本没有执行【标题】的 tpl,无法显示 tpl 返回值
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amis.