We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/* 自定义JS使用说明: * 1.动作执行函数doAction,可以执行所有类型的动作 * 2.通过上下文对象context可以获取当前组件实例,例如context.props可以获取该组件相关属性 * 3.事件对象event,在doAction之后执行event.stopPropagation();可以阻止后续动作执行 */ const objectName = event.data.objectName; const listViewRef = event.context.scoped.getComponentById("listview_" + objectName); const selectedItems = listViewRef && listViewRef.props.store.toJSON().selectedItems || []; if (selectedItems.length === 0) { doAction({ actionType: 'toast', args: { msg: '请至少选择一条记录' } }); event.stopPropagation(); }
{ "actionType": "broadcast", "args": { "eventName": "@data.changed.invoices" }, "data": { "objectName": "invoices" } }
amis: autoFill: "showSuggestion": false "fillMapping": "combinenum": "${combinenum}" "api": "method": "post" "url": "/graphql" "data": "query": '{rows:bank(filters: ["_id", "=", "${pk_bankdoc}"]){combinenum}}' "silent": false
amis: autoFill: "showSuggestion": false "fillMapping": "combinenum": "${combinenum}" "api": "method": "post" "url": "TODO open api" "data": "query": 'TODO open api' "silent": false
项目开发经验:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
项目开发经验:
The text was updated successfully, but these errors were encountered: