change soft del and hard del order.

This commit is contained in:
Simba
2021-01-04 22:06:27 +08:00
parent b7f4d87236
commit 8165c13128
2 changed files with 5 additions and 4 deletions
+1
View File
@@ -340,6 +340,7 @@ let LangZh = {
required: "必填",
cancel: "取消",
delete: "删除",
deleteDirectly: "直接删除",
actionCanNotRevertConfirm: "此操作不可撤回, 是否继续?",
actionDeleteConfirm: "确定删除吗?",
actionRecoveryConfirm: "确定恢复吗?",
@@ -55,11 +55,11 @@ export default class MatterDeleteModal extends TankComponent<IProps, IState> {
<Button className="mr10" onClick={this.props.onClose}>
{Lang.t("cancel")}
</Button>
<Button type="primary" className="mr10" onClick={this.props.onSoftDel}>
{Lang.t("matter.intoRecycleBin")}
<Button type="primary" danger className="mr10" onClick={this.props.onHardDel}>
{Lang.t("deleteDirectly")}
</Button>
<Button type="primary" danger onClick={this.props.onHardDel}>
{Lang.t("delete")}
<Button type="primary" onClick={this.props.onSoftDel}>
{Lang.t("matter.intoRecycleBin")}
</Button>
</div>
</div>