Skip to content

fix(dop): parameter details interactive optimization #2161

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

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions shell/app/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@
"expand branch directory selection document or create a new document": "expand branch directory selection document or create a new document",
"file upload": "file upload",
"folder": "folder",
"form": "form",
"form configuration": "form configuration",
"form edit": "form edit",
"form of text": "form of text",
Expand Down Expand Up @@ -779,6 +780,7 @@
"startDate": "startDate",
"state": "state",
"test case": "test case",
"text": "text",
"text edit": "text edit",
"the current data volume exceeds 500kb, please click": "the current data volume exceeds 500kb, please click",
"the uploaded file must not exceed {size}M": "the uploaded file must not exceed {size}M",
Expand Down
2 changes: 2 additions & 0 deletions shell/app/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -713,6 +713,7 @@
"expand branch directory selection document or create a new document": "展开分支目录选择文档或新建文档",
"file upload": "文件上传",
"folder": "文件夹",
"form": "表单",
"form configuration": "表单配置信息",
"form edit": "表单编辑",
"form of text": "形式的文本",
Expand Down Expand Up @@ -779,6 +780,7 @@
"startDate": "开始日期",
"state": "状态",
"test case": "用例",
"text": "文本",
"text edit": "文本编辑",
"the current data volume exceeds 500kb, please click": "当前数据量超过500kb,请点击",
"the uploaded file must not exceed {size}M": "上传的文件不得超过{size}M",
Expand Down
8 changes: 4 additions & 4 deletions shell/app/modules/project/pages/test-env/test-env-detail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,9 @@ export const TestEnvDetail = (props: IProps) => {
}}
>
<Radio.Button disabled={!headerJsonValid} value="form">
{i18n.t('common:form edit')}
{disabled ? i18n.t('common:form') : i18n.t('common:form edit')}
</Radio.Button>
<Radio.Button value="code">{i18n.t('common:text edit')}</Radio.Button>
<Radio.Button value="code">{disabled ? i18n.t('common:text') : i18n.t('common:text edit')}</Radio.Button>
</Radio.Group>
</div>
),
Expand Down Expand Up @@ -403,9 +403,9 @@ export const TestEnvDetail = (props: IProps) => {
}}
>
<Radio.Button disabled={!globalJsonValid} value="form">
{i18n.t('common:form edit')}
{disabled ? i18n.t('common:form') : i18n.t('common:form edit')}
</Radio.Button>
<Radio.Button value="code">{i18n.t('common:text edit')}</Radio.Button>
<Radio.Button value="code">{disabled ? i18n.t('common:text') : i18n.t('common:text edit')}</Radio.Button>
</Radio.Group>
</div>
),
Expand Down