fix: 🐛 eslint 报错问题修复

Former-commit-id: f97fd0d877d15983a46e1eea254d7129703567ea
This commit is contained in:
hxr
2023-08-08 01:31:09 +08:00
parent d5669d18f6
commit af5adf01f7
3 changed files with 5 additions and 5 deletions

View File

@@ -122,15 +122,15 @@ const icons = ref(ElementPlusIconsVue);
const { text, isSupported, copy } = useClipboard();
function generateIconCode(symbol) {
function generateIconCode(symbol: any) {
return `<svg-icon icon-class="${symbol}" />`;
}
function generateElementIconCode(symbol) {
function generateElementIconCode(symbol: any) {
return `<el-icon><${symbol} /></el-icon>`;
}
function handleClipboard(text, event) {
function handleClipboard(text: any, event: any) {
// clipboard(text, event);
copy(text)
.then(() => {