!2278 优化:效果图分享显示分享码

pull/2256/MERGE
黄诗津 1 year ago committed by ChenX
parent f50b5822e3
commit d66c379a02

@ -77,11 +77,14 @@ export class FileList extends React.Component<IFileListProps, {}> {
if (res.err_code === 0)
{
const shareCode: string = res.share_code;
copyTextToClipboard(shareCode);
AppToaster.show({
message: "成功获取分享码到剪切板",
timeout: 3000,
message: `成功获取分享码: ${shareCode}`,
timeout: 30000,
intent: Intent.SUCCESS,
action: {
onClick: () => { copyTextToClipboard(shareCode); },
text: "复制"
}
});
}
};

Loading…
Cancel
Save