mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-05-05 13:39:24 +08:00
fix(plugin-workflow): fix styles (#6095)
* fix(plugin-workflow): remove useless node id from node card * fix(plugin-workflow): option locale * fix(plugin-workflow): fix add node button style * fix(plugin-workflow): fix styles * fix(plugin-workflow): revert node id back
This commit is contained in:
parent
d5df9c9621
commit
8b0b46190b
@ -381,13 +381,13 @@ export default class extends Instruction {
|
||||
className={cx(
|
||||
styles.branchBlockClass,
|
||||
css`
|
||||
padding-left: 16em;
|
||||
padding-left: 4em;
|
||||
`,
|
||||
)}
|
||||
>
|
||||
<Branch from={data} entry={entry} branchIndex={entry?.branchIndex ?? 0} />
|
||||
|
||||
<div className={styles.branchClass}>
|
||||
<div className={styles.branchClass} style={{ minWidth: '4em' }}>
|
||||
<div className="workflow-branch-lines" />
|
||||
<div className={styles.loopLineClass}>
|
||||
<ArrowUpOutlined />
|
||||
|
@ -170,8 +170,8 @@ const workflowFieldset = {
|
||||
},
|
||||
stackLimit: {
|
||||
type: 'number',
|
||||
title: `{{ t("Maximum number of loop calls", { ns: "${NAMESPACE}" }) }}`,
|
||||
description: `{{ t("If the number of loop calls is too large, there will be performance issues.", { ns: "${NAMESPACE}" }) }}`,
|
||||
title: `{{ t("Maximum number of cycling triggers", { ns: "${NAMESPACE}" }) }}`,
|
||||
description: `{{ t("The triggers of same workflow by some node (create, update and sub-flow etc.) more than this number will be ignored. Large number may cause performance issues. Please use with caution.", { ns: "${NAMESPACE}" }) }}`,
|
||||
'x-decorator': 'FormItem',
|
||||
default: 1,
|
||||
'x-component': 'InputNumber',
|
||||
|
@ -13,6 +13,7 @@ const useStyles = createStyles(({ css, token }) => {
|
||||
return {
|
||||
workflowPageClass: css`
|
||||
flex-grow: 1;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@ -379,6 +380,7 @@ const useStyles = createStyles(({ css, token }) => {
|
||||
padding: 1em 0;
|
||||
|
||||
> .ant-btn {
|
||||
line-height: 1em;
|
||||
&:disabled {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
@ -31,8 +31,8 @@
|
||||
"Data operation nodes in workflow will run in a same transaction until any interruption. Any failure will cause data rollback, and will also rollback the history of the execution.":
|
||||
"工作流中的节点将在同一个事务中运行。任何失败都会导致数据回滚,同时也会回滚相应的执行历史。",
|
||||
"Auto delete history when execution is on end status": "执行结束后自动删除对应状态的历史记录",
|
||||
"Maximum number of loop calls": "最大循环调用次数",
|
||||
"If the number of loop calls is too large, there will be performance issues.": "如果循环调用次数过大,会有性能问题",
|
||||
"Maximum number of cycling triggers": "最大循环触发次数",
|
||||
"The triggers of same workflow by some node (create, update and sub-flow etc.) more than this number will be ignored. Large number may cause performance issues. Please use with caution.": "由某个节点(创建、更新和子流程等)触发同一个工作流超过这个次数时将被忽略。设置过高的次数可能会导致性能问题,请谨慎使用。",
|
||||
"Trigger": "触发器",
|
||||
"Unknown trigger": "未知触发器",
|
||||
"Workflow with unknown type will cause error. Please delete it or check plugin which provide this type.": "未知类型的工作流会导致错误,请删除或检查提供该类型的插件。",
|
||||
|
Loading…
x
Reference in New Issue
Block a user