mirror of
https://github.com/element-plus/element-plus.git
synced 2025-03-07 15:47:57 +08:00
fix: icon clipboard (#3142)
This commit is contained in:
parent
03bc13e45a
commit
0743e79826
@ -63,9 +63,9 @@ router.isReady().then(() => {
|
|||||||
|
|
||||||
app.config.globalProperties.$copySvgIcon = iconName => {
|
app.config.globalProperties.$copySvgIcon = iconName => {
|
||||||
clipboardCopy(
|
clipboardCopy(
|
||||||
`<el-svg-icon>
|
`<el-icon>
|
||||||
<${hyphenate(iconName)} />
|
<${hyphenate(iconName)} />
|
||||||
</el-svg-icon>
|
</el-icon>
|
||||||
`,
|
`,
|
||||||
).then(() => {
|
).then(() => {
|
||||||
app.config.globalProperties.$message({
|
app.config.globalProperties.$message({
|
||||||
|
Loading…
Reference in New Issue
Block a user