Skip to content
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: 0 additions & 2 deletions packages/sqle/src/locale/en-US/execWorkflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,6 @@ export default {
addInstanceTips: 'Please add DB instance',
addInstance: 'Add DB instance',
uploadType: 'Select SQL statement upload method',
uploadTypeTip:
'The number of SQL statements that can be deployed at one time is 1000',
manualInput: 'Enter SQL statement',
uploadFile: 'Upload SQL file',
updateMybatisFile: 'Upload Mybatis XML file',
Expand Down
1 change: 0 additions & 1 deletion packages/sqle/src/locale/zh-CN/execWorkflow.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export default {
addInstanceTips: '请添加数据源',
addInstance: '添加数据源',
uploadType: '选择SQL语句上传方式',
uploadTypeTips: '单次上线SQL数量为1000条',
manualInput: '输入SQL语句',
uploadFile: '上传SQL文件',
updateMybatisFile: '上传Mybatis的XML文件',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`test SqlStatementFormItem renders SqlStatementFormItem component 1`] =
class="ant-form ant-form-horizontal"
>
<div
class="ant-form-item form-item-label-mb-16 has-label-tip css-1jlm9cy"
class="ant-form-item form-item-label-mb-16 css-1jlm9cy"
>
<div
class="ant-row ant-form-item-row"
Expand All @@ -18,43 +18,32 @@ exports[`test SqlStatementFormItem renders SqlStatementFormItem component 1`] =
class=""
title=""
>
<div
class="label-cont-custom"
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<div>
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</div>
<div
class="tip-content-box"
>
单次上线SQL数量为1000条
</div>
</div>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</label>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`test SqlStatementFormItem renders SqlStatementFormItem component 1`] =
class="ant-form ant-form-horizontal"
>
<div
class="ant-form-item form-item-label-mb-16 has-label-tip css-1jlm9cy"
class="ant-form-item form-item-label-mb-16 css-1jlm9cy"
>
<div
class="ant-row ant-form-item-row"
Expand All @@ -18,43 +18,32 @@ exports[`test SqlStatementFormItem renders SqlStatementFormItem component 1`] =
class=""
title=""
>
<div
class="label-cont-custom"
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<div>
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</div>
<div
class="tip-content-box"
>
单次上线SQL数量为1000条
</div>
</div>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</label>
</div>
<div
Expand Down Expand Up @@ -514,7 +503,7 @@ exports[`test SqlStatementFormItem renders SqlStatementFormItem component 2`] =
class="ant-form ant-form-horizontal"
>
<div
class="ant-form-item form-item-label-mb-16 has-label-tip css-1jlm9cy"
class="ant-form-item form-item-label-mb-16 css-1jlm9cy"
>
<div
class="ant-row ant-form-item-row"
Expand All @@ -526,43 +515,32 @@ exports[`test SqlStatementFormItem renders SqlStatementFormItem component 2`] =
class=""
title=""
>
<div
class="label-cont-custom"
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<div>
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</div>
<div
class="tip-content-box"
>
单次上线SQL数量为1000条
</div>
</div>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</label>
</div>
<div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,12 @@ const SqlStatementFormItem: React.FC<SqlStatementFormItemProps> = ({
<>
<FormItemLabel
label={
<div className="label-cont-custom">
<div>
<RingPieFilled className="custom-icon-ellipse" />
<span>{t('execWorkflow.create.form.sqlInfo.uploadType')}</span>
</div>
<div className="tip-content-box">
{t('execWorkflow.create.form.sqlInfo.uploadTypeTips')}
</div>
</div>
<>
<RingPieFilled className="custom-icon-ellipse" />
<span>{t('execWorkflow.create.form.sqlInfo.uploadType')}</span>
</>
}
className="form-item-label-mb-16 has-label-tip"
className="form-item-label-mb-16"
/>

<FormItemNoLabel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`test SqlStatementFormController ce should match snapshot 1`] = `
class="ant-form ant-form-horizontal"
>
<div
class="ant-form-item form-item-label-mb-16 has-label-tip css-1jlm9cy"
class="ant-form-item form-item-label-mb-16 css-1jlm9cy"
>
<div
class="ant-row ant-form-item-row"
Expand All @@ -18,43 +18,32 @@ exports[`test SqlStatementFormController ce should match snapshot 1`] = `
class=""
title=""
>
<div
class="label-cont-custom"
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<div>
<svg
class="custom-icon-ellipse"
fill="none"
height="16"
viewBox="0 0 16 16"
width="16"
xmlns="http://www.w3.org/2000/svg"
>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</div>
<div
class="tip-content-box"
>
单次上线SQL数量为1000条
</div>
</div>
<rect
fill="#E8F3FF"
height="16"
rx="3"
width="16"
/>
<circle
cx="8"
cy="8"
fill="#fff"
r="3"
stroke="#4583FF"
stroke-width="2"
/>
</svg>
<span>
选择SQL语句上传方式
</span>
</label>
</div>
<div
Expand Down
Loading
Loading