Commit 983d737f authored by 陈帅's avatar 陈帅

Improve copy success tips

parent d68666fe
......@@ -208,7 +208,11 @@ class SettingDarwer extends PureComponent {
<Divider />
<CopyToClipboard
text={JSON.stringify(setting)}
onCopy={() => message.success('copy success')}
onCopy={() =>
message.success(
'copy success,please replace defaultSetting in src/models/setting.js'
)
}
>
<Button
style={{
......@@ -216,7 +220,7 @@ class SettingDarwer extends PureComponent {
}}
>
<Icon type="copy" />
拷贝代码
拷贝配置
</Button>
</CopyToClipboard>
</div>
......
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 to comment