Commit fe4c469e by CaIon

fix: 无法复制弹窗过小

parent dbb6c44f
...@@ -426,8 +426,11 @@ const TokensTable = () => { ...@@ -426,8 +426,11 @@ const TokensTable = () => {
if (await copy(text)) { if (await copy(text)) {
showSuccess('已复制到剪贴板!'); showSuccess('已复制到剪贴板!');
} else { } else {
// setSearchKeyword(text); Modal.error({
Modal.error({ title: '无法复制到剪贴板,请手动复制', content: text }); title: '无法复制到剪贴板,请手动复制',
content: text,
size: 'large',
});
} }
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment