|
|
|
@ -4,7 +4,9 @@ import { observer } from "mobx-react";
|
|
|
|
|
import React from "react";
|
|
|
|
|
import { app } from "../../ApplicationServices/Application";
|
|
|
|
|
import { userConfig } from "../../Editor/UserConfig";
|
|
|
|
|
import { BoardModalType } from "../../UI/Components/Board/BoardModal";
|
|
|
|
|
import { ModalState } from "../../UI/Components/Modal/ModalInterface";
|
|
|
|
|
import { userConfigStore } from "../../UI/Store/UserConfigStore";
|
|
|
|
|
import { HistoryProp } from "./OperLogsModal";
|
|
|
|
|
|
|
|
|
|
@observer
|
|
|
|
@ -66,7 +68,11 @@ export class OpenHistoryBody extends React.Component<HistoryProp, {}>
|
|
|
|
|
<Checkbox
|
|
|
|
|
style={{ margin: "15px 0px 0px 0px", float: "left", left: "18%" }}
|
|
|
|
|
label="下次不再显示"
|
|
|
|
|
onClick={() => userConfig.openHistoryList = !userConfig.openHistoryList}
|
|
|
|
|
onClick={async () =>
|
|
|
|
|
{
|
|
|
|
|
userConfig.openHistoryList = !userConfig.openHistoryList;
|
|
|
|
|
await userConfigStore.SaveConfig(BoardModalType.UserConfig, userConfig);
|
|
|
|
|
}}
|
|
|
|
|
/>
|
|
|
|
|
</div> : undefined
|
|
|
|
|
}
|
|
|
|
|