Skip to content

Commit

Permalink
refactor: 移除ID
Browse files Browse the repository at this point in the history
  • Loading branch information
duan602728596 committed Jun 13, 2023
1 parent aaf409c commit 05f9c33
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ function CreateResult(props: {}): ReactElement {

if (!userItem) return;

const filename: string = `${ userItem.description }_${ userItem.id }_${ userItem.serverId }_${ userItem.channelId }_${ userItem.liveRoomId }_${
const filename: string = `${ userItem.description }_${ userItem.serverId }_${ userItem.channelId }_${ userItem.liveRoomId }_${
dayjs().format(fileTimeFormat)
}.txt`;
const result: SaveDialogReturnValue = await showSaveDialog({
Expand All @@ -89,7 +89,6 @@ function CreateResult(props: {}): ReactElement {
try {
const calculateResult: CalculateResult = await calculate(userItem, formValue.startTime.valueOf(), formValue.endTime.valueOf(), userInfo.accid, userInfo.pwd);
const text: string = `################################################################
id: ${ userItem.id }
serverId: ${ userItem.serverId }
channelId: ${ userItem.channelId }
liveRoomId: ${ userItem.liveRoomId }
Expand Down

0 comments on commit 05f9c33

Please sign in to comment.